Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to align elements horizontally in css

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.block {
  width: 100px;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #align #elements #horizontally #css
ADD COMMENT
Topic
Name
8+7 =