DEV Community

Discussion on: Relative Font Size in CSS

Collapse
 
sallarrabiei profile image
Sallar Rabiei

Is there any clear fomula for relative values like: font-size: larger; or font-size: smaller; ? For example can I say: larger = +X% or smaller = -X% ? I am looking for the number of X?
Why deelopers are using larger and smaller? For example in this website: spanishclub.se/cheese they have several H2 in description section, they make the first one larger? is there any reason they do that?