Created
April 4, 2021 18:14
-
-
Save SafaElmali/46de3e9495674c2aa57396cec6b13c73 to your computer and use it in GitHub Desktop.
7 - 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%; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment