Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

3 column responsive grid css

.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /*fraction*/
}

.section {
  border: 1px solid;
}

@media (max-width: 768px) { /*breakpoint*/
  .container {
    grid-template-columns: none;
  }
}
 
PREVIOUS NEXT
Tagged: #column #responsive #grid #css
ADD COMMENT
Topic
Name
2+3 =