As we all know, based on the layout of the column in the CSS is very difficult to achieve. It usually involves using JavaScript or server-side processing to break the content down into different elements. This is an unnecessary complication, requiring valuable development time away from the really important things. Fortunately, this problem is now solved by using CSS column rules:
HTML :
demo
CSS :
.demo{
width: 500px;
margin: 0 auto;
}
/* Creating columns is as simple as this: */
.demo p{
-moz-columns:3;
-webkit-columns:3;
columns:3;
}
This rule is well supported, although it still requires a prefix. In this case, there are a few other rules that are relevant to the column, and how browsers handle corner cases.
I Hope this blog is
Thanks
Related Tags
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Himanshu Khurana
Himanshu is an experienced Frontend developer with experience and capabilities to build compelling UI's for Web and Mobile Applications. Himanshu likes playing cricket and listening music.