Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

grid center

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: #grid #center
ADD COMMENT
Topic
Name
2+4 =