Last active
April 4, 2021 18:26
-
-
Save SafaElmali/9bebf3cedf12faf1ef06d1ab80810a88 to your computer and use it in GitHub Desktop.
8 - CSSBattle - Target #5 - Acid Rain
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
<div> | |
</div> | |
<style> | |
body { | |
background: #0b2429; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
div { | |
width: 120px; | |
height: 120px; | |
background: #998235; | |
border-radius: 50%; | |
border-top-right-radius:0%; | |
position:relative; | |
} | |
div::before, | |
div::after { | |
content: ""; | |
position: absolute; | |
width: 120px; | |
height: 120px; | |
background: #f3ac3c; | |
} | |
div::before { | |
left: -60px; | |
top: 60px; | |
border-radius: 50% 0% 50% 50%; | |
} | |
div::after { | |
left: 60px; | |
top: -60px; | |
border-radius: 50%; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment