0

I want to increase the height of this symbol "│" in a span like

<span>│</span>

I already tried to increase the font-size but it also increase the width of the symbol.

I need it for render a dynamic diagram.

Do you have any idea ?

Toothgip
  • 469
  • 6
  • 14

1 Answers1

1

You can use css scale. In my experience, it will blur things a bit, but it's the only way I think you can change the size of your pipe symbol.

Personally I would just draw a vertical line in css.

span {
  display: inline-block;
  transform: scale(1, 3);
}
original: |
scaled: <span>|</span>
JasperZelf
  • 2,731
  • 1
  • 22
  • 34