CSS Battles
About
Github
Back
Battle: #37
<div class="a"></div> <div class="b"></div> <div class="c"></div> <style> div { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .a { background: #243d83; width: 250px; height: 250px; } .b { background: #6592cf; width: 150px; height: 150px; transform: translate(-50%, -50%) rotate(15deg); } .c { background: #243d83; width: 75px; height: 75px; transform: translate(-50%, -50%) rotate(30deg); } body { background: #6592cf; margin: 0; } </style>