<!DOCTYPE html>
<
html
>
<
head
>
<
title
>
HTML | DOM Style columnRuleWidth Property
</
title
>
<
style
>
#GFG {
/* For old Chrome and Safari browsers */
-webkit-column-count:4;
-webkit-column-rule: 1px green solid;
/* For Firefox browser */
-moz-column-count:4;
-moz-column-rule: 1px green solid;
-webkit-column-count:4;
-webkit-column-rule: 1px green solid;
text-align:justify;
}
</
style
>
</
head
>
<
body
>
<
div
id = "GFG">
Prepare for the Recruitment drive of product
based companies like Microsoft, Amazon, Adobe
etc with a free online placement preparation
course. The course focuses on various MCQ's
& Coding question likely to be asked in the
interviews & make your upcoming placement
season efficient and successful.
</
div
>
<
p
>
Click on the button to change the
column-rule width
</
p
>
<
button
onclick = "myGeeks()">
Click Here!
</
button
>
<
script
>
function myGeeks() {
document.getElementById("GFG").style.columnRuleWidth
= "10px";
}
</
script
>
</
body
>
</
html
>