One must use @font-face even if using fonts that are installed on the
users machine and to which are local ?
How do I find what fonts are pre-installed on most mobile / tablet /
desktops ?
Philippe Wittenbergh wrote:
On Sep 29, 2015, at 12:27, Crest Christopher<crestchristop...@gmail.com> wrote:
When using @font-family is it placed within the rule as such;
<html tag> {@font-family {font-family properties} } ?
Hmm, there is no such thing as a @font-family at-ruleā¦
Do you mean the font-family property, which takes a list of font-families as
value and that you can declare on any selector you want.
Or do you mean the @font-face at-rule, which is used to link to a downloadable
font ? You don't declare that on any element or selector. It is a sort of
container block that at minimum contains a source for the font and a descriptor
@font-face {
font-family: 'my ugly font'; /* descriptor */
src: url(/path/to/my-ugly-font.woff) format('woff');
}
(I usually insert that near the top of my stylesheets, but it can go any place)
Philippe
--
Philippe Wittenbergh
http://l-c-n.com/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/