1.

What is the white-space property in CSS?

Answer»

White-space is a PROPERTY WITHIN CSS which helps in CONTROLLING whitespace and other line BREAKS INSIDE an element’s text. It has a default value of normal.

Here’s an example to display the different values within a white-space property:

p.e {
   white-space: nowrap;
}
p.f {
   white-space: normal;
}
p.g {
   white-space: pre;
}

16. What are CSS3 Transitions?


Discussion

No Comment Found