CSS3 Multicolumns
CSS3 Multicolumns
CSS3 supported multi columns to arrange the text as news paper structure.
Values Description
Example
Below example shows the arrangement of text as new paper structure.
<html>
<head>
<style>
.multi {
/* Column count property */
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
-webkit-column-rule-style: solid;
-moz-column-rule-style: solid;
column-rule-style: solid;
</style>
</head>
<body>
<div class="multi">
Tutorials Point originated from the idea that there exists a class of
readers who respond
better to online content and prefer to learn new skills at their own
pace from the comforts
</div>
</body>
</html>
For suppose, if user wants to make text as new paper without line, we can
do this by removing style syntax as shown below
.multi {
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;