Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center grid

div {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3px;
  justify-items: center;
  align-items: center;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #grid
ADD COMMENT
Topic
Name
6+4 =