3 ms·
So how can I get the different variations of the font in CSS? (e.g.: I want condensed ultra light for instance) Will it work with font-weight and font-stretch?
by dorianm 10y ago
So how can I get the different variations of the font in CSS? (e.g.: I want condensed ultra light for instance)
Will it work with font-weight and font-stretch?
e.g.: Will this use the font variations instead of letting the browser do the interpolation?
font-weight: 100;
font-stretch: condensed;
- saadat 10y agoGoogle's announcement [1] about OT font variations mentions that a CSS proposal is in the works: > Together with other browser makers, we’re already working on a proposal to extend CSS fonts with variations. Once everyone agrees on the format, we’ll support it in Google Chrome. [1] http://opensource.googleblog.com/2016/09/introducing-opentype-font-variations.html http://opensource.googleblog.com/2016/09/introducing-opentyp...