-
1994 proposal for Cascading HTML Style Sheets: w3.org/People/howcome/p/cascade.html Includes % weighting on each property, & displays the weighted average, e.g. h2 { font-size: 100px 60%; } /* user styles */ h2 { font-size: 10px 40%; } /* author styles */ Results in a font-size of 64px…
-
Here's my quick CSS calc() solution for setting a font-size property of 100px at 40% weight: font-size: calc((1em * 60 + 100px * 40) / 100); 😛 codepen.io/mirisuzanne/pen/eYObOLK