Skip to content

Instantly share code, notes, and snippets.

@phpbits
Last active February 5, 2022 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpbits/1209ce7910c34b88c736d3c03c6956c7 to your computer and use it in GitHub Desktop.
Save phpbits/1209ce7910c34b88c736d3c03c6956c7 to your computer and use it in GitHub Desktop.
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;
}
@iEscapedVim
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