DEV Community

DEEGAMBER SINGH
DEEGAMBER SINGH

Posted on

Create Perpendicular Line using HTML and CSS

I am going to share with you how to create a perpendicular line using HTML and CSS 3. I will be using the HTML hr tag to achieve our goal along with CSS3.

Thanks to the CSS 3 transform attribute, you can reconstruct the look significantly. As far as an alteration on the HTML line element is considered, our pick is a rotation.

Find out the final result below:

Learn to create slant, zig-zag, dashed, and perpendicular line using HTML & CSS.

Top comments (0)