主頁
CSS
CSS Web 字型
Tryit:font-face 規則
執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> @font-face { font-family: myFirstFont; src: url(sansation_light.woff); } * { font-family: myFirstFont; } </style> </head> <body> <h1>The @font-face Rule</h1> <div> With CSS, websites can use fonts other than the pre-selected "web-safe" fonts. </div> </body> </html>