CSS Cheat Sheet. SYNTAXSyntaxselector {property: value; }External Style Sheet< link rel="stylesheet" type="text/css" href="style. Internal Style< style type="text/css"> selector {property: value; }< /style> Inline Style< tag style="property: value">. GENERAL Class. String preceded by a period. ID String preceded by a hash markdiv. Formats structure or block of text span. Inline formatting color. Foreground colorcursor. Appearance of the cursordisplay block; inline; list- item; none overflow How content overflowing its box is handled. FONTfont- stylefont- variantfont- weightbold, normal, lighter, bolder, integer (1. Size of the fontfont- family. Specific font(s) to be used. TEXTletter- spacing. Css Se Css Selectors AttributeM icrosoft Internet Explorer 4+ and Netscape 6+ supports customized cursors defined with CSS. A lthough the cursors will not have the customized look in other. Tool to view statistics about CSS files. Contains amounts of rules, selectors, declarations, and properties. Another exciting new border feature of CSS3 is the property border-image. With this feature you can define an image to be used instead of the normal border of an element. Space between lettersline- height. Vertical distance between baselinestext- align. Horizontal alignmenttext- decorationblink, line- through, none, overline, underlinetext- indent. First line indentation text- transformcapitalize, lowercase, uppercasevertical- align. Vertical alignmentword- spacing. Spacing between words. BORDERborder- width. Width of the borderborder- styledashed; dotted; double; groove; inset; outset. Color of the border. POSITIONclear. Any floating elements around the element? Floats to a specified side. The left position of an element. The top position of an element. Element above or below overlapping elements? BACKGROUNDbackground- color. Background colorbackground- image. Background imagebackground- repeatrepeat, no- repeat, repeat- x, repeat- ybackground- attachment. Background image scroll with the element? LIST list- style- type. Type of bullet or numbering in the list. Position of the bullet or number in a list. Image to be used as the bullet in a list* The properties for each selector. ![]() TEXT; letter-spacing: Space between letters: line-height: Vertical distance between baselines: text-align: Horizontal alignment: text-decoration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |