Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css grid row height with repeat

.grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-rows: repeat(2, auto) repeat(3, 1fr);
  grid-gap: 10px;
  height: calc(100vh - 10px);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #grid #row #height #repeat
ADD COMMENT
Topic
Name
5+5 =