Skip to content

Latest commit

 

History

History
49 lines (47 loc) · 960 Bytes

ups-and-downs.md

File metadata and controls

49 lines (47 loc) · 960 Bytes

<div class="content">
	<div class="up"></div>
  	<div class="up"></div>
   	<div class="up"></div>
  	<div class="down"></div>
    <div class="down"></div>
    <div class="down"></div>
</div>
<style>
  body{
    background: #62306D;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 300px;
    height: 200px;
  }
  .down{
    display: flex;
    width: 100px;
    height: 100px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background: #F7EC7D;
  }
  .up {
    display: flex;
    width: 100px;
    height: 100px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background: #F7EC7D;
  }
  .up:nth-of-type(odd),
  .down:nth-of-type(odd){
    background: none;
  }
</style>