Answers for "grid example"

0

css grid example

<!-- HTML code -->
<div class="wrapper">
  <div class="box">A</div><div class="box">B</div><div class="box">C</div>
  <div class="box">D</div><div class="box">E</div><div class="box">F</div>
</div>

<!-- Css code -->
<style>
.wrapper {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  grid-gap: 10px;
  background-color: #fff;
  color: #444;
}
.box {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
}
</style>
Posted by: Guest on October-29-2020
0

grid example

display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
Posted by: Guest on February-10-2021
0

css grid tutorial

.container {
  display: grid | inline-grid;
}
Posted by: Guest on March-29-2020

Browse Popular Code Answers by Language