php - @Font-Face not working in codeigniter -
IM just confused why my codes in CSS are not working IM using codeigniter for this project.
I have a font named 'Fanar Biji ITC', I keep all the formats in my origin with a sub folder called 'font', but this does not work.
Just check it out
@ font-face {font-family: "winner hand ITC"; Src: url ('font / 435028077-27990.eot'); Src: url format ('embedded-opentype'), url ('font / 435028077-27990.svg # Viner Hand ITC') format ('SVG'), URL ('Font / 435028077-27990.woff') format ('woff'), url ('font / 435028077-27990.ttf') format ('truetype'); Font weight: normal; Font style: normal; Body {background: # 000! Important; Color: #fff; Text Align: Justify; Font-family: "winner hand ITC"! Important; Direction: ltr; } But when I open my page, it always uses the default font.
Font-family is not supported in many sources Check your browser
Comments
Post a Comment