

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Shorthand property for setting all the column-rule-* properties
The shorthand property for column rule is column-rule property. You can try to run the following code to implement the column-rule property
Example
<!DOCTYPE html> <html> <head> <style> .demo { column-count: 4; column-gap: 50px; column-rule: 2px dotted orange; } </style> </head> <body> <div class = "demo"> This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. </div> </body> </html>
- Related Questions & Answers
- Shorthand property to set all the animation properties with CSS
- CSS shorthand property for the flex-grow, flex-shrink, and the flex-basis properties
- CSS3 Multi-Column column-rule Property
- How to set the column rule properties with JavaScript?
- Animate CSS column-rule property
- CSS3 Multi-Column rule-width Property
- CSS3 Multi-Column rule-style Property
- CSS3 Multi-Column rule-color Property
- Animate CSS column-rule-color property
- The padding shorthand Property in CSS
- The margin Shorthand Property in CSS
- The border Shorthand Property in CSS
- The outline Shorthand Property in CSS
- The Background Shorthand Property in CSS
- CSS Animation Shorthand property
Advertisements