gamefont.css text-shadow ? Css rule ?

djmisterjon

Villager
Member
Joined
Aug 18, 2014
Messages
29
Reaction score
6
First Language
francais
Primarily Uses
Hellos simple question, I would like to add CSS code to gamefont.css file.
Done, is not working.
Example, I add text-shadow: 20px 20px # FF0000;
But once tested it does not work.
Here is the full code.
It will not be like the development of a website?

Code:
@font-face {
    font-family: GameFont;
    src: url("LittleLordFontleroyNF.ttf");
    text-shadow: 20px 20px #FF0000;
}
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
863
First Language
German
Primarily Uses
@font-face is only used to register a font, not to style elements.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top