Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 796 Bytes

44-stripes.md

File metadata and controls

50 lines (46 loc) · 796 Bytes

Battle #8 - Transition

#44 - Stripes

Link to the problem

result

<div class="circle"></div>
<div class="wrap">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>
<div class="circle r"></div>
<style>
  body {
    background: #1A4341;
  }
  .wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 200px;
    height: 180px;
    margin: 60px auto;
  }
  .wrap div {
    width: 100%;
    height: 20px;
    background: #F3AC3C;
  }
  .circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #1A4341;
    border-radius: 50%;
    left: -150px;
    top: 0;
  }
  .circle.r {
    left: auto;
    right: -150px;
  }
</style>