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


Please Help Members By Posting Answers For Below Questions

What is the usage of Class selector?

326


What is css backface-visibility property?

339


When would you use css clear?

293


What is cascading communication?

276


Why css is faster than xpath?

297






What is the meaning of excise duty?

293


What is opacity in css3?

311


What are cascading style sheets?

313


What does cascading mean in css?

323


Can you write css3 code to arrange text in multi columns?

295


What are the new things in css3?

297


What does CSS selector mean?

319


Is css grid responsive?

379


What is profit margin percentage?

303


How do we comment a CSS file?

318