资源描述:
《[CSS.Fonts(2013.7)].Eric.A.Meyer.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、CSSFontsEricA.MeyerCSSFontsbyEricA.MeyerCopyright©2013O’ReillyMedia.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotio
2、naluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:SimonSt.LaurentandMeghanBlanchetteCoverDesigner:RandyComerProductio
3、nEditor:KristenBorgInteriorDesigner:DavidFutatoProofreader:O’ReillyProductionServicesIllustrator:RebeccaDemarestJuly2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-07-16:FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449371494forreleasedeta
4、ils.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.CSSFonts,theimageofasalmon,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsa
5、reclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityf
6、orerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-37149-4[LSI]TableofContentsPreface........................................................................vFonts.....................................................
7、.................1FontFamilies1UsingGenericFontFamilies3SpecifyingaFontFamily4Using@font-face7RequiredDescriptors7OtherFontDescriptors12CombiningDescriptors16FontWeights18HowWeightsWork20GettingBolder22LighteningWeights24FontSize27AbsoluteSizes28RelativeSizes29Pe
8、rcentagesandSizes30FontSizeandInheritance31UsingLengthUnits34AutomaticallyAdjustingSize36FontStyle38Thefont-styleDescriptor40FontStretching41Thefont-stretchDes