Search
 
SCRIPT & CODE EXAMPLE
 

CSS

flex one whole width

.flexContainer {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.item:first-child {
  flex: 1 1 100%;
  margin-bottom: 20px;
}

.item {
  flex: 1 1 40%;
  height: 50px;
  background-color: red;
  margin: 0 20px;
}
Comment

flex one whole width

.flexContainer {
  display: flex;
  flex-wrap: wrap;
}

.item:first-child {
  flex: 1 1 100%;
  height: 100vh;
  width: 300px;
  margin-bottom: 20px;
}

.item {
  flex: 1 1 40%;
  height: 50px;
  background-color: red;
  margin: 0 20px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: ratio bootstrap 
Css :: how to make font awesome responsive bootstrap 
Css :: size carousel bootstrap 4 
Css :: background color inline styling 
Css :: add space between all html elements flex 
Css :: css last child 
Css :: sticky header 
Css :: css full cover background image 
Css :: css box shadow 
Css :: css table border-collapse 
Css :: scss watch command 
Css :: how to make image not repeat on background 
Css :: centering css elements 
Css :: text align left in span 
Css :: css invert columns 
Css :: Set table cellpadding and cellspacing in CSS 
Css :: input start typing in the center 
Css :: remove background when autofill input css 
Css :: sass loop columns 
Css :: how to outline text in css 
Css :: how to align items in css 
Css :: font semi bold css 
Css :: screen orientation css 
Css :: Changing to custom font in angular material 12 
Css :: centering with flexbox 
Css :: show ellipsis after text length 
Css :: css not last child 
Css :: align text in center css 
Css :: mini-css-extract-plugin 
Css :: install webpack encore 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =