I like to use the body as the wrapper - I set the stage while using it's margin.
Setting flex to 1 made me happy.
Also fun: usage of rotate origin, instead of marging-top: auto
<div></div><div></div><div></div>
body{background:#62306D;margin:50px;display:flex;}div{background:#F7EC7D;height:50%;border-radius:50%50%00;flex:1;}div:nth-child(odd){transform:rotate(180deg);margin-top:auto;/* as an alternative to »margin-top: auto«, transform-origin 50% 100%) */}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I like to use the body as the wrapper - I set the stage while using it's margin.
Setting flex to 1 made me happy.
Also fun: usage of rotate origin, instead of marging-top: auto