3

Could you please explain me or send me a link where is explained how does CSS property font-size work?
When you're working with relatives sizes in %. It's the percent of what? What are best practices etc.

thank you

1 Answer 1

7

The best place to go is where CSS is defined - http://www.w3.org/TR/CSS2/fonts.html#font-shorthand. To answer the % question - it's the percentage of the font size of the parent element.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.