Skip to content

Instantly share code, notes, and snippets.

@ianthekid
Created May 29, 2021 16:05
Show Gist options
  • Save ianthekid/493b3f6325196dbd855cef9aa615fdcc to your computer and use it in GitHub Desktop.
Save ianthekid/493b3f6325196dbd855cef9aa615fdcc to your computer and use it in GitHub Desktop.
hexagon-image.css
img {
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment