The recent teaching to the students to summarize the commonly used CSS properties, convenient learning query, just send up also to share, O (∩_∩) O.
Pick From: http://www.w3cschool.com.cn/
The minimum version of the CSS supported by the digital ID of the right column of the table.
Directory:
CSS Background properties (Background)
. CSS border Properties (border and outline)
. CSS Text Properties
. CSS font properties (font)
CSS margin properties (margin)
. CSS padding Properties (Padding)
. CSS List Properties (lists)
. CSS dimension Properties (Dimension)
The CSS positioning properties (positioning)
CSS Table Properties (table)
CSS Background properties (Background)
CSS Background properties (Background)
Property |
Describe |
Css |
Background |
Set all background plugins in one declaration |
1 |
Background-attachment |
Sets whether the background image is fixed or scrolls along with the rest of the page |
1 |
Background-color |
Set the background color of an element |
1 |
Background-image |
Set the background image of an element |
1 |
Background-position |
Set the start position of the background image |
1 |
Background-repeat |
Set whether and how to repeat the background image |
1 |
. CSS border Properties (border and outline)
CSS Border Properties (border and outline)
Property |
Describe |
Css |
Border |
Set all border properties in a declaration |
1 |
Border-bottom |
Set all the bottom border properties in a declaration |
1 |
Border-bottom-color |
Set the color of the bottom border |
2 |
Border-bottom-style |
Set the style of the bottom border |
2 |
Border-bottom-width |
Set the width of the bottom border |
1 |
Border-color |
Set the color of four borders |
1 |
Border-left |
Set all the left border properties in a declaration |
1 |
Border-left-color |
Set the color of the left border |
2 |
Border-left-style |
Set the style of the left border |
2 |
Border-left-width |
Set the width of the left border |
1 |
Border-right |
Set all properties of the right border in a declaration |
1 |
Border-right-color |
Set the color of the right border |
2 |
Border-right-style |
Set the style of the right border |
2 |
Border-right-width |
Set the width of the right border |
1 |
Border-style |
Set the style of four borders |
1 |
Border-top |
Set all the top border properties in a declaration |
1 |
Border-top-color |
Set the color of the top border |
2 |
Border-top-style |
Set the style of the top border |
2 |
Border-top-width |
Set the width of the top border |
1 |
Border-width |
Set the width of the four-bar border |
1 |
Outline |
Set all profile properties in a declaration |
2 |
Outline-color |
Set the color of the outline |
2 |
Outline-style |
Set the style of the outline |
2 |
Outline-width |
Set the width of the outline |
2 |
. CSS Text Properties
CSS Literal properties (text)
Property |
Describe |
Css |
Color |
Set the color of text |
1 |
Direction |
Specify the direction of the text/direction of writing |
2 |
Letter-spacing |
Set character spacing |
1 |
Line-height |
Set row height |
1 |
Text-align |
Specify the horizontal alignment of the text |
1 |
Text-decoration |
Specify the decorative effect added to the text |
1 |
Text-indent |
Specify indentation for the first line of a text block |
1 |
Text-shadow |
Specify the shadow effect added to the text |
2 |
Text-transform |
Control the case of text |
1 |
Unicode-bidi |
Set text orientation |
2 |
White-space |
Specify how to handle whitespace in an element |
1 |
Word-spacing |
Set word spacing |
1 |
. CSS font properties (font)
CSS Fonts Property (font)
Property |
Describe |
Css |
Font |
Set all font properties in a declaration |
1 |
Font-family |
Font family of specified text |
1 |
Font-size |
Specify font size for text |
1 |
Font-size-adjust |
Specify aspect values for elements |
2 |
Font-stretch |
Shrink or stretch the current font family |
2 |
Font-style |
Specify font compaction for text |
1 |
Font-variant |
Specify font style for text |
1 |
Font-weight |
Specify the weight of the font |
1 |
CSS margin properties (margin)
CSS Margin properties (margin)
Property |
Describe |
Css |
Margin |
Set all margin properties in a declaration |
1 |
Margin-bottom |
Set the bottom margin of an element |
1 |
Margin-left |
Set the left margin of an element |
1 |
Margin-right |
Set the right margin of an element |
1 |
Margin-top |
Set the top margin of an element |
1 |
. CSS padding Properties (Padding)
CSS padding properties (Padding)
tbody>
properties |
description |
CSS |
Paddi Ng |
set all padding properties in a declaration |
1 |
padd Ing-bottom |
set the lower padding of the element |
1 |
pad Ding-left |
Set the left padding of an element |
1 |
padd Ing-right |
Set the right padding for an element |
1 |
padd Ing-top |
set the top padding of an element |
1 |
. CSS List Properties (lists)
CSS Listing properties (list)
Property |
Describe |
Css |
List-style |
Set all the list properties in a declaration |
1 |
List-style-image |
To set an image as a list item marker |
1 |
List-position |
Set placement of list item markers |
1 |
List-style-type |
To set the type of a list item marker |
1 |
. CSS dimension Properties (Dimension)
CSS Dimension Properties (Dimension)
Property |
Describe |
Css |
Height |
Set element height |
1 |
Max-height |
Set the maximum height of an element |
2 |
Max-width |
Set the maximum width of an element |
2 |
Min-height |
Set the minimum height of an element |
2 |
Min-width |
Set the minimum width of an element |
2 |
Width |
Set the width of an element |
1 |
The CSS positioning properties (positioning)
CSS Positioning properties (positioning)
Property |
Describe |
Css |
Bottom |
Sets the offset between the margin boundary and the lower boundary of its containing block under the anchor element |
2 |
Clear |
Specifies which side of the element does not allow other floating elements |
1 |
Clip |
Trim an absolutely positioned element |
2 |
Cursor |
Specifies the type of cursor (SHAPE) to display |
2 |
Display |
Specifies the type of box that the element should generate |
1 |
Float |
Specify whether the box should float |
1 |
Left |
Sets the offset between the left margin boundary of the anchor element and the left boundary of its containing block |
2 |
Overflow |
Specifies what happens when the content overflows the element box |
2 |
Position |
Specify element positioning type |
2 |
Right |
Sets the offset between the right margin boundary of the anchor element and the right side of its containing block |
2 |
Top |
Sets the offset between the margin boundary and the top of its containing block on the anchor element |
2 |
Vertical-align |
Sets the vertical alignment of an element |
1 |
Visibility |
Specify whether elements are visible |
2 |
Z-index |
Set the stacking order of elements |
2 |
CSS Table Properties (table)
caption-side
CSS Table Properties (table)
property |
description |
CSS |
border-collapse |
Specifies whether to merge table borders |
2 |
border-spacing |
Specifies the distance between adjacent cell borders |
2 |
Specifies the position of the table title |
2 |
empty-cells |
Specifies whether to display borders and backgrounds on empty cells in a table |
2 |
table-layout |
set layout algorithm for tables |
Organize the list of CSS properties common to W3cschool