Welcome to CodeCoruses.eu

welcome.jpg

English | Norwegian

Coding Fora logo
  • main_navigation_menu_icon.png
  • Search
  • ic_more_vert.png

3 x div boxes

You are here
Fora > 3 x div boxes

1_180303121314.jpg
Administrator

vote_up

0

vote_down

Posted by Administrator · 27 April 2019 (173 days ago) · Report · Email

Just want to share this code with you

CSS

div.flex_row {
	display: flex;
}
div.flex_row > div.flex_col {
	flex: 1;
}

HTML

	<div class="flex_row">
		<div class="flex_col">
			xx
		</div>
		<div class="flex_col">
			y
		</div>
		<div class="flex_col">
			zz
		</div>
	</div>
 

Reply

Social Media

youtube.png