CSS has grouped all the CSS properties into logical groups to give the massive amount of properties in some order, unlike HTML. This lesson will review these areas and give a brief description of what they are for.
CSS Font Properties
The CSS font properties control all aspect
of your text and graphical representation. From the thickness of
font (font-weight) of your
choice to font type (font-family). Here are all the font properties :
font
font-family
font-size
font-style
font-weight
font-variant
CSS Text Properties
The CSS text properties controls the
alignment,spacing, decoration, and other miscellaneous aspects of the
text. Here is list of all the CSS text properties given:
letter-spacing
word-spacing
text-decoration
vertical-align
text-transform
text-align
text-indent
line-height
CSS Box Properties
The box properties of CSS are used to define the
spacing in and around HTML element, their borders, and other
positioning aspects. Border, Margin, and Padding all have four
properties each: top, right, bottom, and left.
Margin
Padding
Border
Border-width
Border-color
Border-style
Width
Height
Float
Clear
CSS Color Properties
The color property of CSS defines what color the
text inside the specified HTML element will have to be. Use classes or
identifiers to have multiple colors for one type of HTML
element.
Color
CSS Background Properties
The CSS background properties control the things
like if the background is a single color or maybe an image. If
it is an image you can set the position of the image and tell it
whether or not you want the image to repeat left-to-right and/or top-to-bottom .
Background
Background Color
Background Image
Background Repeat
Background Attachment
Background Position
CSS Classification Properties
We think of the classification properties as
the list element and all the leftover element that would
not fit into any other category. All the properties are mentioned
below.
Display
Whitespace
List Style
List Style Type
List Style Image
List Style Position
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.