Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vertical line with pointed bottom end in CSS

Just a quick question:

How can I create this vertical shape in CSS?

This is going to be a left border of a div.

Many thanks!

UPDATE The main issue is with the bottom part of the line.

enter image description here

like image 766
Nesta Avatar asked Dec 02 '25 08:12

Nesta


1 Answers

Try this trick with borders:

div {
  border-left:20px solid orange;
  border-bottom:20px solid transparent;
  width:0;
  height:300px;
}

Fiddle

like image 151
King King Avatar answered Dec 05 '25 01:12

King King



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!