How to get css of multicolumn css3 by javascript -
<div id="multicolum"> <p>content</p> </div>
css:
#multicolumn { text-align: justify; -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; height: 100%; width: 100%; -moz-column-gap: 40px; /* firefox */ -webkit-column-gap: 40px; /* safari , chrome */ column-gap: 40px; position: relative; top: 0px; left: 0px; float: left; font-size: 30px; }
how can attribute "column-gap" of muticomlum javascript not jquery. can me!
change id of div multicolumn , then:
document.getelementbyid("multicolumn").style.columngap
return column-gap
css property
Comments
Post a Comment