Created
May 29, 2021 16:05
-
-
Save ianthekid/493b3f6325196dbd855cef9aa615fdcc to your computer and use it in GitHub Desktop.
hexagon-image.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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