terribleMia’s avatarterribleMia’s Twitter Archive—№ 6,589

    1. 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…
  1. …in reply to @TerribleMia
    You can also set the desired influence-weight for an entire stylesheet. Of course now I want to implement it in Sass somehow, and see what it's like…
    1. …in reply to @TerribleMia
      "For discrete values, e.g. the font family, it may not be obvious how to mix 40% helvetica and 60% times."