Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css ditribute width equealy to child components

.wpr {
  display: flex;
  width: 400px;
}

.wpr div {
  flex: 1 2 0;
  border: 1px solid yellow;
  background: pink;
  text-align: center;
  min-height: 40px;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #ditribute #width #equealy #child #components
ADD COMMENT
Topic
Name
6+7 =