Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

grid repeat css

#container {
  display: grid;
  grid-template-columns: repeat(2,1fr) 100px;
  grid-gap: 5px;
  box-sizing: border-box;
  height: 200px;
  width: 100%;
  background-color: #8cffa0;
  padding: 10px;
}

#container > div {
  background-color: #8ca0ff;
  padding: 5px;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #grid #repeat #css
ADD COMMENT
Topic
Name
8+7 =