Αποτελέσματα Αναζήτησης
font-family: "helvetica neue"; font-weight:100; font-size:50px; when viewed in firefox it looks like the version on the left. viewed in webkit (safari, chrome, ios safari) it looks like the version on the right. any idea how i can bring these two further closer together ? ive also made a small jsfiddle if any one wants to play around with the css,
1 Μαρ 2017 · Google served font like Montserrat has a lot of different styles: Thin, Extra-Light, Light, Regular, etc... I could not find a way to specify a style with CSS. Using Font-weight can access only so...
5 Ιουλ 2016 · bold is font-weight, anyway. To combine multiple values, you can use the shorthand font property. However, the font shorthand has required entries: font-size and font-family. If you don't include both of these in the shorthand, the property will be ignored. Include these in your font shorthand along with italic bold and it should work.
18 Μαΐ 2013 · The problem is that font weights, when represented numerically, must be a multiple of 100. To animate between 400 and 600, the font would change from 400 to 500 to 600 (3 'frames', if you like) and wouldn't look very smooth.
6 Απρ 2012 · 2 - Font properties like font-weight and font-style. If you want, is possible to apply the font-weight and font-style on the @font-face declaration to use variations of the same font, but you need to be specific and precise about these characteristics. There are some ways to do it.
5 Ιαν 2012 · In CSS, for the font-weight property, the value: normal defaults to the numeric value 400, and bold to 700. If you want to specify other weights, you need to give the number value. That number value needs to be supported for the font family that you are using. For example you would define semi-bold like this: font-weight: 600;
29 Ιουλ 2010 · font-weight can fail to work if the font you are using does not have those weights in existence – you will often hit this when embedding custom fonts. In those cases the browser will likely round the number to the closest weight that it does have available.
9 Φεβ 2011 · comparing strong to font-weight: bold is like comparing h1 to display: block; font-size: 2em; font-weight: bold; margin: .67em 0; – zzzzBov Commented Feb 9, 2011 at 0:00
6 Δεκ 2015 · CSS font weights do not "make fonts thin" (or bold) when dealing with web fonts. For not-loaded-from-url fonts the font-weight value maps from ultra thin to extra bold, but for custom fonts the weight is "whatever the @font-face binding says it should be": they are merely differentiation numbers used when declaring a font family with multiple weights.
3 Φεβ 2015 · This comment contains important thing about font-weight documentation that others lack. It's very important to match the specific file with a specific font-weight value. Otherwise applying font-weight to CSS, will result in using the wrong font file. –