Detailed explanation of how to use column-fill attribute to align column content height in CSS3

高洛峰
Release: 2017-03-08 13:48:05
Original
1760 people have browsed it

The column-fill attribute will align specified columns of different heights in a manner that minimizes the height difference. Here we will take a look at the detailed usage of CSS3's column-fill attribute to align column content heights:

column-fill attribute, used to specify whether the heights between columns are aligned.

Property value
balance If possible, all column contents are aligned in the same way (default value)
auto The following columns are filled after the first column.
※The content is reprinted from other websites

Instance code

   
   
   
   
 column-fill    
   

   

   

LLLLLLLLL…

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

LLLLL…

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Copy after login


Example picture
Detailed explanation of how to use column-fill attribute to align column content height in CSS3

The above is the detailed content of Detailed explanation of how to use column-fill attribute to align column content height in CSS3. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!