The size of the CSS font parameter looks like font-size: 181.25% 16px;

We came across a CSS style sheet where some values ​​for the parameter are font-size

defined as font-size: 181.25% 16px .

Individually well understood: relative (scaling to 29px) and absolute, but mixing them together ...? For what purpose?

I briefly read the newest W3C specs but I couldn't find this form of coding. Google Chrome validates it fine and displays the single tag document correctly:<p style="font-size:181.25%16px">Test</p>

NOTE: Link to What does this CSS (split by size) mean? is ambiguous because in the referenced message font: 9pt/18px Tahoma;

only means a short way of writing font-size

and line-height

together.

+3


source to share


1 answer


This is a syntax error.

Validator error



Chrome marks this as ignored.

Chrome view

+5


source







All Articles