How to change the height of a br element with CSS?

Spread the love

Sometimes, we want to change the height of a br element with CSS.

In this article, we’ll look at how to change the height of a br element with CSS.

How to change the height of a br element with CSS?

To change the height of a br element with CSS, we set its line-height.

For instance, we write

br {
  line-height: 150%;
}

to set its line-height to 150% to set the line height.

Conclusion

To change the height of a br element with CSS, we set its line-height.

Leave a Reply

Your email address will not be published.