Add a .img--circular class that makes a circular image with clip-path and shape-outside

This commit is contained in:
Eryn Wells 2024-10-10 23:02:59 -07:00
parent 6c59f940be
commit 0672ba0740

14
assets/css/050_images.css Normal file
View file

@ -0,0 +1,14 @@
/*********
* IMAGES
*********/
.img--circular {
shape-outside: circle(50%);
-webkit-clip-path: circle(50%);
clip-path: circle(50%);
}