Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

flex vertical equal horizontal center

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
}

li {
  display: flex;
  flex: 0 0 32.5%;
  align-items: center;
  justify-content: center;
  border: 1px solid red;
}

span {
  text-align: center;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flex #vertical #equal #horizontal #center
ADD COMMENT
Topic
Name
1+8 =