Usage of @font-face

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Matze
Sr. Propeller Head
Posts: 163
Joined: Mon Jun 20, 2016 10:35 pm

Usage of @font-face

Post by Matze »

Hi all,
my CSS starts like this:

Code: Select all

@font-face 
{
	font-family: Font 1', 'Font 2', 'Font 4';
	src: url(http://www.Our Server/Our Font.eot);
	font-weight: normal;
	font-style: normal;
}

Are "font-weight" and "font-style" the only font-face attributes? What is with others like paddings, text decorations, etc. is this forbidden?
Because I want to strike out these stuff in my other css styles.

If this does not work, I think, it is possible defining all gernal CSS attributes in an external linkes CSS like this?
https://stackoverflow.com/questions/104 ... s-possible
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Usage of @font-face

Post by NorthEast »

Font-family should only have one font name.

There's plenty of good information online about @font-face:

https://css-tricks.com/snippets/css/using-font-face/

https://www.w3schools.com/cssref/css3_p ... e_rule.asp
Post Reply