Skip to content

Instantly share code, notes, and snippets.

@phpbits
Last active Feb 5, 2022
Embed
What would you like to do?
Custom Image Block Style Variations
.is-style-circular-image img{
border-radius: 9999px !important;
object-fit: cover;
overflow: hidden;
}
.is-style-rounded-corners img{
border-radius: 0.5em;
overflow: hidden;
}
@YasirRWebDesigner
Copy link

YasirRWebDesigner commented Feb 5, 2022

wait why 9999px border-radius? idk man it just feels weird...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment