Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css template columns and rows

.container {
  grid-template-columns: ...  ...;
  /* e.g. 
      1fr 1fr
      minmax(10px, 1fr) 3fr
      repeat(5, 1fr)
      50px auto 100px 1fr
  */
  grid-template-rows: ... ...;
  /* e.g. 
      min-content 1fr min-content
      100px 1fr max-content
  */
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css #template #columns #rows
ADD COMMENT
Topic
Name
7+9 =