Multi-Column using css3 module column




Multi-Column using css3 module column












CSS3 column









Earlier it was a tough task to create multiple columns using the div tag like in newspapers .Now with the new css3 module of column we can create multiple columns very easily.



BASIC HTML & CSS



<html>
<head>

<title>Multi-Column Layout CSS3 Module</title>
<style>
#container {
width: 1000px;
margin: auto;
background: #000000;
padding: 10px;
font: 12px/1.6em helvetica, arial, sans-serif;
color:#ffffff;
}


#container p {
-webkit-column-count: 3;
-webkit-column-gap: 10px;

-moz-column-count: 3;
-moz-column-gap: 10px;

column-count: 3;
column-gap: 10px;
}
</style>
</head>
<body>

<div id="container">

<h2> thewwwdesigners </h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.
</p>
</div>

</body>
</html>