Flexbox was born for this. This is how I approached it on MaterializeCSS.
.flex {
display: flex;
flex-wrap: wrap;
}
and on the parent row add
<div class="row flex">
<div class="col"></div>
<div class="col"></div>
</div>
More Related Contents:
- I do not want to inherit the child opacity from the parent in CSS
- CSS 100% height with padding/margin
- How can I make an svg scale with its parent container?
- Format text in a ?
- What is the best CSS Framework and are they worth the effort?
- What is difference between justify-self, justify-items and justify-content in CSS grid?
- Remove gutter space for a specific div only
- What do “flex” and “justify-content” achieve that “text-align” doesn’t?
- How to build a 2 Column (Fixed – Fluid) Layout with Twitter Bootstrap?
- Setting CSS top percent not working as expected
- css skew element and get inner rounded border top
- How can I select an nth child without knowing the parent element?
- Style disabled button with CSS
- Z-Index Relative or Absolute?
- How can I make a div span multiple rows and columns in a grid?
- What’s the difference between `all: unset` and `all: revert’
- Responsive Images with CSS
- rotate3d shorthand
- How to link a CSS file from HTML file?
- Build list of selectors with LESS
- how to rotate text left 90 degree and cell size is adjusted according to text in html
- Set div height equal to screen size
- Styling the new twitter widget (embedded timeline)
- What CSS3 features still need vendor prefixes?
- -webkit-filter: drop-shadow for other browsers
- Customize list item bullets using CSS
- Wrap text from bottom to top
- CSS: Background-color on multi-line text?
- IE6/IE7 css border on select element
- What’s the deal with vertical-align: baseline?