Created
April 4, 2021 18:27
-
-
Save SafaElmali/626a2357d5cf0ee6bf4a4311ef55e5e6 to your computer and use it in GitHub Desktop.
9 - 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; | |
z-index: -1; | |
border-radius: 50%; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment