HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ border: 1px solid #267326; padding: 10px; margin-bottom: 25px; column-count: 2; -webkit-column-count: 2; /* Chrome, Safari, Opera */ -moz-column-count: 2; /* Firefox */ -webkit-column-gap: 40px; -moz-column-gap: 40px; column-gap: 40px; column-rule-width: 4px; -webkit-column-rule-width: 4px; /* Chrome, Safari, Opera */ -moz-column-rule-width: 4px; /* Firefox */ column-rule-color: red; -webkit-column-rule-color: red; /* Chrome, Safari, Opera */ -moz-column-rule-color: red; /* Firefox */ column-rule-style: dashed; -webkit-column-rule-style: dashed; /* Chrome, Safari, Opera */ -moz-column-rule-style: dashed; /* Firefox */ } </style> </head> <body> <h1>CSS column-rule-width Property</h1> <div> Joanne Rowling was born on 31st July 1965 at Yate General Hospital near Bristol, and grew up in Gloucestershire in England and in Chepstow, Gwent, in south-east Wales. </div> <p><strong>Note</strong>: Try to change the column-rule-width from 4px to any.</p> </body> </html>
OUTPUT
×

Save as Private