0% found this document useful (0 votes)
30 views

Reference: Background Properties

The document lists CSS property groups including background, border and outline, dimension, font, generated content, list, margin, padding, positioning, print, table, text, and pseudo-classes/elements. It provides the property name, description, and CSS version for properties in the background and border groups.

Uploaded by

Shenba Sekhar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Reference: Background Properties

The document lists CSS property groups including background, border and outline, dimension, font, generated content, list, margin, padding, positioning, print, table, text, and pseudo-classes/elements. It provides the property name, description, and CSS version for properties in the background and border groups.

Uploaded by

Shenba Sekhar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSS Reference

CSS Property Groups



Background Border and outline Dimension Font

Generated content List Margin Padding Positioning

Print Table Text Pseudo-classes/elements

The "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).

Background Properties
Property background background-attachment background-color background-image background-position background-repeat Description Sets all the background properties in one declaration Sets whether a background image is fixed or scrolls with the rest of the page Sets the background color of an element Sets the background image for an element Sets the starting position of a background image Sets how a background image will be repeated CSS 1 1 1 1 1 1

Border and Outline Properties


Property border border-bottom border-bottom-color border-bottom-style border-bottom-width border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-style border-top border-top-color Description Sets all the border properties in one declaration Sets all the bottom border properties in one declaration Sets the color of the bottom border Sets the style of the bottom border Sets the width of the bottom border Sets the color of the four borders Sets all the left border properties in one declaration Sets the color of the left border Sets the style of the left border Sets the width of the left border Sets all the right border properties in one declaration Sets the color of the right border Sets the style of the right border Sets the width of the right border Sets the style of the four borders Sets all the top border properties in one declaration Sets the color of the top border CSS 1 1 2 2 1 1 1 2 2 1 1 2 2 1 1 1 2

border-top-style border-top-width border-width outline outline-color outline-style outline-width

Sets the style of the top border Sets the width of the top border Sets the width of the four borders Sets all the outline properties in one declaration Sets the color of an outline Sets the style of an outline Sets the width of an outline

2 1 1 2 2 2 2

You might also like