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
1. Right-click the project and select properties ...
Empty link: That is, there is no link with a targ...
Table of contents 1. JavaScript issues 2. Advanta...
View the engines supported by the current databas...
Functions about null in MySql IFNULL ISNULL NULLI...
Table of contents VMware BurpSuite 1. Virtual mac...
Preface This article introduces how to use the ne...
JS running trilogy js running code is divided int...
Nginx hides version number In a production enviro...
This article records the installation tutorial of...
transform and translate Transform refers to trans...
This article shares the Java connection MySQL und...
1. Packaging Vue project Enter the following name...
1. concat() function Function: Concatenate multip...
Table of contents Overview 1. useState 1.1 Three ...