0

What is the function of white-space in css?

When should we use this attribute? The example is confusing for pre, pre-line, and pre-wrap...

18th Jul 2017, 4:25 AM
Zareen Azara
Zareen Azara - avatar
1 ответ
+ 1
This might help: https://www.w3schools.com/cssref/pr_text_white-space.asp Read the property value section and use the play it buttons to help you understand what each does. For the pre, pre-line, and pre-wrap you may not really see a difference in the play it sections. I suggest you look into the pre tag to help you understand. https://www.w3schools.com/tags/tag_pre.asp
18th Jul 2017, 5:28 AM
ChaoticDawg
ChaoticDawg - avatar