We recently covered creating fancy borders with CSS mask properties, and now we are going to cut the corners with CSS mask and clip-path! A lot of techniques exist to cut different shapes from the corners of any element. …
Tricks to Cut Corners Using CSS Mask and Clip-Path Properties originally published on CSS-Tricks. You should get the newsletter.
https://css-tricks.com/cut-corners-using-css-mask-and-clip-path-properties/
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
(This is a sponsored post.)
It’s probably no surprise to you that CSS-Tricks is (proudly) hosted on
Today, I want to look into one of those cases of impatient and how the community has waited for that feature, to be specific, two upcoming functions: sibling-count() and sibling-index().
I wrote a post for Smashing Magazine that was published today ab
I am still an AI skeptic. The biggest risk I foresee is that if your sole responsibility is to write code, your job is at risk. It’s not time to panic, but I do see a lot of value in evolving your
I'm more thankful this time around because, last year, I didn't even get to write this post. But now that I'm back, writing this feels so, so, so good. There's a lot more gusto going into my writin
2024 has been one of the greatest years for CSS: cross-document view transitions,