Answers for "html checker"

1

check html

<input type="checkbox">
Posted by: Guest on August-05-2021
0

html checker

<style>
#checker{
  display:flex;
  flex-direction:column;
}

.row{
  display:flex;
}
.row div{
  width:50px;
  height:50px;
  border:solid;
  border-width:1px;
}

.row1 div:nth-child(odd){
  background-color:black;
}

.row2 div:nth-child(even){
  background-color:black;
}
</style>

<div id='checker'>
  <div class='row row1'> 
     <div></div>
     <div></div>
     <div></div>
     <div></div>
     <div></div>
  </div>
    <div class='row row2'> 
     <div></div>
     <div></div>
     <div></div>
     <div></div>
     <div></div>
  </div>
     <div class='row row1'> 
     <div></div>
     <div></div>
     <div></div>
     <div></div>
     <div></div>
  </div>
  <div class='row row2'> 
     <div></div>
     <div></div>
     <div></div>
     <div></div>
     <div></div>
  </div>
    <div class='row row1'> 
     <div></div>
     <div></div>
     <div></div>
     <div></div>
     <div></div>
  </div>
</div>
Posted by: Guest on May-24-2021

Browse Popular Code Answers by Language