Vet egentlign inte varför men vissa shorthands för font fungerar bara när man har med fontfamily, eller font sist.
Annars ska nog ordningen vara den rätta
fungerar denna t.ex.??
...vilket innebär att både <'font-size'> och <'font-family'> måste anges om man använder det första alternativet. inherit kan inte användas som del av shorthanden eftersom det är omöjligt att veta vilken av egenskaperna man menar. Ponera följande deklaration:
font:inherit large serif;
Vad är inherit? 'font-style', 'font-variant' eller 'font-weight'?
This part specifies the set of valid values for the property whose name is 'property-name'. Value types may be designated in several ways:
[...]
types that have the same range of values as a property bearing the same name (e.g., <'border-width'> <'background-attachment'>, etc.). In this case, the type name is the property name (complete with quotes) between "<" and ">" (e.g., <'border-width'>). Such a type does not include the value 'inherit'. [...]