![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HomeWeb DevelopmentShort ContentsIntroductionCSS Basics Selectors Terminology Colours Fonts Text Blocks Classification Full ContentsIntroductionOther CSS sitesDownload this Guide CSS BasicsSetting Styles...setting values Comments Inheritance Selectors...by class...by id ...contextual Psuedo Classes ...<A> links Psuedo Elements ...first line ...first letter TerminologyCascades"! important" CSS element model Block elements Terminology used here Units ...lengths ...colours ColoursForeground colourBackground ...-color ...-image ...-repeat ...-attachment ...-position FontsFont...-family ...-style ...-variant ...-weight ...-size Textword-spacingletter-spacing text-decoration vertical-align text-transform text-align text-indent line-height Blocksmargin-topmargin-right margin-left margin-bottom margin padding-top padding-right padding-bottom padding-left padding border-top-width border-right-width border-bottom-width border-left-width border-width border-color border-style border-top border-left border-bottom border-right border width height float clear ClassificationDisplaywhitespace list-style list-style-type list-style-image list-style-position |
Font propertiesfont-family
font-style
font-variant
font-weight
Normal and 400 are the same, as are bold and 700 . The bolder and lighter are values relative to whatever the
inherited value would have been.
font-size
absolute-size is one of xx-small, x-small, small, medium, large, x-large, or xx-large .relative-size is larger or smaller and represents an absolute-size, relative to what is inherited. length is a positive number with the units em, ex or pt . Values are relative to what would have been inherited,
but on other properties it refers to the font-size of the current element.Examples: P { font-size: 12pt; } P { font-size: larger } P { font-size: 150% } P { font-size: 1.5em } font
(C)opyright, Geoff Knagge.
Continued use of this site indicates your agreement to the Conditions of use and Privacy Policy. |