Answers for "how to have white space in css"

CSS
0

how to have white space in css

#HTML_code
<h1> 
	My text
	<span>
		Here my white space
	</span>
</h1>

#Css_Code
h1 span::before
{
  content: "\A";
  white-space:pre;
}
Posted by: Guest on December-05-2020

Browse Popular Code Answers by Language