Skip to content

Instantly share code, notes, and snippets.

@SafaElmali
Created March 26, 2021 08:41
Show Gist options
  • Save SafaElmali/ef94be0f53a2ab3e00d55c641b681a40 to your computer and use it in GitHub Desktop.
Save SafaElmali/ef94be0f53a2ab3e00d55c641b681a40 to your computer and use it in GitHub Desktop.
5 - CSSBattle - Target #4 - Ups n Downs
<div></div>
<div></div>
<div></div>
<style>
body{
background:#62306D;
display:flex;
justify-content:center;
align-items:center;
}
div{
width:100px;
height:100px;
background:#F7EC7D;
}
div:nth-of-type(1){
border-radius:0% 0% 50% 50%;
transform:translateY(50px);
}
div:nth-of-type(2){
border-radius:50% 50% 0% 0%;
transform:translateY(-50px);
}
div:nth-of-type(3){
border-radius:0% 0% 50% 50%;
transform:translateY(50px);
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment