this post was submitted on 22 Nov 2023
6 points (80.0% liked)
CSS
494 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The best I can find is to use clip-paths to mask out the shape.
https://medium.com/@zubryjs/squircles-bringing-ios-7s-solution-to-rounded-rectangles-to-css-9fc35779aa65