Skip to content

Instantly share code, notes, and snippets.

@SafaElmali
Last active April 4, 2021 18:26
Show Gist options
  • Save SafaElmali/9bebf3cedf12faf1ef06d1ab80810a88 to your computer and use it in GitHub Desktop.
Save SafaElmali/9bebf3cedf12faf1ef06d1ab80810a88 to your computer and use it in GitHub Desktop.
8 - CSSBattle - Target #5 - Acid Rain
<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