css中如何引入“非常” 字型

來源:互聯網
上載者:User

今天看了 http://snook.ca 的網站,看著他頁面的字型蠻好看的,就 firebug 了一下。原來他是這樣子做的。也是通過 引用自訂的一個字型。[以前研究過,存了一份 忘記放哪了]。就在這裡記錄以下吧。。

/*green #680dark #333lighter #666*/@font-face { font-family: 'GothicCustom'; src: url("LeagueGothic.eot"); src: local(''), url("LeagueGothic.otf") format('opentype'), url("leaguegothic.svg#lg") format('svg');}/* A font by Jos Buivenga (exljbris) -> http://www.exljbris.nl */@font-face { font-family: 'MuseoCustom'; src: url("MuseoSans-500.eot"); src: local(''), url("MuseoSans-500.ttf") format('opentype'), url("museo.svg#museo") format('svg');} 

暫時記錄這麼多吧,碰到類似的還會繼續添加~~~

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.