// Within style tags in your html file
* { box-sizing: border-box; }

.grid:after {
  content: '';
  display: block;
  clear: both;
}


@media only screen and (max-width: 600px) {  /* mobil */
  
.grid-sizer,
.grid-item {
    width: 25%;
}
  

.item-20 {
width:50%; 	
}

.item-30 {
width:75%; 	
}

}


@media only screen and (min-width: 576px) {   /* ipad */
  
.grid-sizer,
.grid-item {
    width: 20%;
}
  

.item-20 {
width:40%; 	
}

.item-30 {
width:60%; 	
}

}


@media only screen and (min-width: 768px) {   /* desktop */


  .grid-sizer,
  .grid-item {
    width: 10%;
  }


.item-20 {
width:20%;	
}

.item-30 {
width:30%; 	
}

}

/* To change the amount of columns on larger devices, uncomment the code below */

/* @media (min-width: 768px) and (max-width: 991px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .grid-sizer,
  .grid-item {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .grid-sizer,
  .grid-item {
    width: 20%;
  }
} */

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}
