CSS Battles
About
Github
Back
Battle: #12
<div class="middle"></div> <div class="right"></div> <div class="left"></div> <div class="r"></div> <div class="l"></div> <style> .r { top: 140px; left: 310px; width: 20px; height: 10px; border-radius: 20px 20px 0 0; background: #d86f45; } .l { top: 140px; left: 70px; width: 20px; height: 10px; border-radius: 20px 20px 0 0; background: #d86f45; } .left { left: 70px; top: 50%; width: 60px; height: 30px; border-bottom: 20px solid #d86f45; border-left: 20px solid #d86f45; border-right: 20px solid #d86f45; border-radius: 0 0 50px 50px; } .right { left: 230px; top: 50%; width: 60px; height: 30px; border-bottom: 20px solid #d86f45; border-left: 20px solid #d86f45; border-right: 20px solid #d86f45; border-radius: 0 0 50px 50px; } .middle { position: absolute; transform: translateX(-50%) translateY(-50%); top: 125px; left: 50%; width: 60px; height: 30px; border-top: 20px solid #d86f45; border-left: 20px solid #d86f45; border-right: 20px solid #d86f45; border-radius: 50px 50px 0 0; } div { position: absolute; } body { margin: 0; background: #f5d6b4; } </style>