IMG-LOGO

Replace new line using CSS3

andy - 30 Mar, 2015 3265 Views 0 Comment

Rather than replacing a new line using programming code, you can easily replace the new line by using a single css3 code. Below example is using a css class, so you can apply it easily to a html tag.

.newline{
	white-space:pre-line;
} 

Comments

There are no comments available.

Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.

Related Articles

How to draw a circle in CSS?

In this article, we are going to learn how to draw a circle in CSS. Firstly what needs to do is to create a CSS class called circle.