Skip to content

Instantly share code, notes, and snippets.

@phpbits
Last active February 5, 2022 09:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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

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