How do you specify units in the CSS?. What are the
different ways to do it?
Answer Posted / hrpynux@gmail.com
CSS has several different units for expressing a length. Many CSS properties take "length" values, such as width , margin , padding , font-size , etc. Length is a number followed by a length unit, such as 10px , 2em , etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is VH/VW (viewport height/ viewport width) in CSS?
What do you mean by cascading?
What do you mean by dialog box?
What is css give example?
When displaying fonts, what's the difference between pixels, points and ems?
What are css3 media types?
Why should you use css preprocessors?
How do style sheets cascade?
How can the same properties be defined for different elements without repeating them again and again? Explain with an example:
What is css box sizing?
How to select all paragraph elements whose lang attribute has a value of exactly "fr"?
Who invented css?
How do you center text in css?
Why is css preferred over html?
With the help of examples explain grouping and nesting of css selectors.