Last active
March 11, 2021 21:22
-
-
Save BroFox86/abf72f8d389dc619022a1c88c185135a to your computer and use it in GitHub Desktop.
[Semicircle] Simple semicircle with border #csstrick
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
.semicircle { | |
width: 200px; | |
height: 100px; | |
border: 10px solid gray; | |
background-color: gold; | |
border-top-left-radius: 100px; | |
border-top-right-radius: 100px; | |
border-bottom: 0; | |
box-sizing: border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment