Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Reference

CSS Reference

Sort alphabetically

0. Background properties
1. Border properties
2. Dimension properties
3. Generated content properties
4. Layout properties
5. List properties
6. Margin properties
7. Outline properties
8. Padding properties
9. Table properties
10. Typographical properties

Background properties

background-attachmentDefines if the background is fixed or scrolls with the other content.
background-colorSets the color of the background.
background-imageDefines an image that will show behind the content of a region.
background-positionDefines the starting position of the background image.
background-repeatDefines if the background image is repeated.
unicode-bidiThe unicode-bidi property overrides the algorithm that determines in what direction the text should appear.
white-spaceDefines how white-spaces appears in an element.

Border properties

borderThe border property specifies the properties of the border of a table.
border-bottomSets style, width and color of the bottom border.
border-bottom-colorSets the color of the bottom border.
border-bottom-styleSets the style of the bottom border.
border-bottom-widthSets the width of the bottom border.
border-collapseDefines if a border should be collapsed into a single border or detached into several borders.
border-colorSets color of the border.
border-leftSets style, width and color of the left border.
border-left-colorSets the color of the left border.
border-left-styleSets the style of the left border.
border-left-widthSets the width of the left border.
border-rightSets style, width and color of the right border.
border-right-colorSets the color of the right border.
border-right-styleSets the style of the right border.
border-right-widthSets the width of the right border.
border-spacingDefines the distance that separates cell borders.
border-styleSets the style of the border.
border-topSets style, width and color of the top border.
border-top-colorSets the color of the top border.
border-top-styleSets the style of the top border.
border-top-widthSets the width of the top border.
border-widthSets the width of the border.

Dimension properties

heightSpecifies the height of an element.
max-heightDefines the maximum height of an element.
max-widthDefines the maximum width of an element.
min-heightDefines the minimum height of an element.
min-widthDefines the minimum width of an element.
widthSpecifies the width of an element

Generated content properties

contentcontent
counter-incrementThe counter-increment property defines if a counter should be incremented each time an element with the property is displayed.
counter-resetThe counter-reset property creates or resets the specified counter.
quotesThe quotes property defines how quotes are displayed.

Layout properties

bottomThe bottom property specifies the bottom edge of an element.
clearA property that specifies if it allows floating objects at the sides of an element.
clipDefines the shape of an element.
colorThe color of an element.
cursorSpecifies the type of cursor to be displayed
displayDefines how elements are displayed.
floatDefines where an image or a text will appear in another element.
leftThe bottom property specifies the left edge of an element.
overflowDefines what happens to the content of an element if it is overflown (not enough space for it).
positionPlaces an element in static, relative, absolute or fixed position.
rightThe bottom property specifies the right edge of an element.
topThe bottom property specifies the top edge of an element.
visibilityDefines if an element should be visible or not.
z-indexUsed to place an element "behind" another element.

List properties

list-styleSets the style of a list.
list-style-imageSpecifies the image that will be used as a list item marker.
list-style-positionDefines if the list marker is at the same intendation as the text or not.
list-style-typeSpecifies how the list item marker is displayed.
marker-offsetThe marker-offset property does not have support by many browsers yet, and should not be used.

Margin properties

marginSets the margin size.
margin-bottomSets the bottom margin size.
margin-leftSets the left margin size.
margin-rightSets the right margin size.
margin-topSets the top margin size.

Outline properties

outlineoutline
outline-colorThe outline-color property sets the color of an outline.
outline-styleoutline-width
outline-widthDefines the width of an outline.

Padding properties

paddingSpecifies the padding on each side of an element.
padding-bottomSpecifies the padding on the bottom of an element.
padding-leftSpecifies the padding to the left of an element.
padding-rightSpecifies the paddingto the right of an element.
padding-topSpecifies the padding on the top of an element.

Table properties

caption-sideDefines the position of the table caption.
empty-cellsDefines if empty cells are shown in a table.
line-heightSets the height of a line.
table-layoutDefines the algorithm used to display the table cells, rows, and columns.

Typographical properties

directionDefines the text direction.
fontDefines the font of the text.
font-familyDefines a prioritized list of font families and generic families that will be used for an element.
font-sizeSets the size of the font.
font-size-adjustShort desc
font-stretchCondenses or expands the current font-family.
font-styleSets the font style.
font-variantSets the font variant.
font-weightSets the font boldness.
letter-spacingSets the additional space between characters.
text-alignSets the alignment of the text.
text-decorationSets the text decoration.
text-indentSets the size of the empty space before the text.
text-shadowThe text-shadow property specifies one or more shadow effect to the text in an element. (Not supported by many browsers)
text-transformSets the transofmration of the text to either Capitalize, UPPERCASE or lowercase.
vertical-alignSets the vertical position of the text.
word-spacingSets the spacing between each word.