All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Exploring the CSS border-shape Property and the Evolution of CSS Shape Capabilities

By

@ChallengesCss

2h ago· 12 min readenInsight

Summary

This article explores the evolution of CSS shape-making capabilities, introducing the new border-shape property as the next frontier after the recently added shape() function and corner-shape property. The author, a CSS shape enthusiast, explains how these features work together to enable complex shape creation directly in CSS without relying on SVG or workarounds. The article covers the formal introduction of shape() for clip-path and offset-path using SVG syntax, the corner-shape property for styling element corners, and previews the proposed border-shape property that would allow borders to follow custom shapes. It includes practical examples, browser support considerations, and implications for web design.

Source

CSS-TricksExploring the CSS border-shape Property and the Evolution of CSS Shape Capabilitiescss-tricks.com

Key quotes

· 3 pulled
What else could we possibly need as far as making shapes in CSS? Let me tell you: the border-shape property!
If you are not a CSS shape fanatic like me, you probably missed these features when they came out.
The shape() function is a new value for clip-path and offset-path that uses SVG syntax to create complex shapes.
Snippet from the RSS feed
We recently got the shape() function and corner-shape property. What else could we possibly need as far as making shapes in CSS? Let me tell you: the border-shape property!

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.