This article mainly introduces the detailed explanation of the automatic filling writing method of CSS3 flex elastic box, and shares it with you, as follows: <style type="text/css"> .flexcontainer{ width:100%; height: 100%; position: absolute; left:0px; top:0px; display: flex; flex-direction: column; } .flex1 { width: 100%; height: 8rem; float: left; background: #f00; } .flex2 { width: 100%; height: 4rem; flex:1; float: left; background: #000; } .flex3 { width: 100%; height: 7rem; float: left; background: #ccc; } </style> <div class="flexcontainer"> <div class="flex1"></div> <div class="flex2"></div> <div class="flex3"></div> </div> This is the end of this article on the detailed explanation of how to write automatic filling of CSS3 flex elastic box. For more relevant CSS3 flex automatic filling content, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! |
<<: Detailed explanation of tinyMCE usage and experience
>>: Use IISMonitor to monitor web pages and automatically restart IIS
This article shares the specific code of making a...
1. Background Although I have read many blogs or ...
Recently, students from the User Experience Team o...
In the course of work, you will encounter many ca...
my.cnf is the configuration file loaded when MySQ...
1. Modify the firewall configuration file # vi /e...
How to uninstall MySQL database under Linux? The ...
Vue data two-way binding principle, but this meth...
This article mainly introduces the simple impleme...
The editor recently wanted to get started with th...
There are also two servers: Preparation: Set the ...
Table of contents 1. Array Induction 1. Split a s...
Introduction to sudo authority delegation su swit...
1. Download Python 3 wget https://www.python.org/...