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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -