Jump to: navigation, search

CSS Complete Reference

From w3cyberlearnings
# Property CSS Description
1 @keyframes 3 Sets the animation
2 animation 3 Set for all the animation properties but excluded the animation-play-state property
3 animation-name 3 Sets a name for the @keyframes animation
4 animation-duration 3 Sets how many seconds or milliseconds an animation takes to complete one cycle
5 animation-timing-function 3 Sets the speed curve of the animation
6 animation-delay 3 Sets when the animation should be started
7 animation-iteration-count 3 Sets the number of times an animation should be played
8 animation-direction 3 Sets whether or not the animation should play in reverse on alternate cycles
9 animation-play-state 3 Sets whether the animation is running or pausing
10 background 1 Sets all the background properties in one declaration
11 background-attachment 1 Sets whether a background image is fixed or scrolls with the rest of the page
12 background-color 1 Sets the background color of an element
13 background-image 1 Sets the background image for an element
14 background-position 1 Sets the starting position of a background image
15 background-repeat 1 Sets how a background image will be repeated
16 background-clip 3 Sets the painting area of the background
17 background-origin 3 Sets the positioning area of the background images
18 background-size 3 Sets the size of the background images
19 font 1 Sets all the font properties in one declaration
20 font-family 1 Sets the font family for text
21 font-size 1 Sets the font size of text
22 font-style 1 Sets the font style for text
23 font-variant 1 Sets whether or not a text should be displayed in a small-caps font
24 font-weight 1 Sets the weight of a font
25 @font-face 3 Permits websites to download and use fonts other than the "web-safe" fonts
26 font-size-adjust 3 Preserves the readability of text when font fallback occurs
27 font-stretch 3 Chooses a normal, condensed, or expanded face from a font family
28 border 1 Sets all the border properties in one declaration
29 border-bottom 1 Sets all the bottom border properties in one declaration
30 border-bottom-color 1 Sets the color of the bottom border
31 border-bottom-style 1 Sets the style of the bottom border
32 border-bottom-width 1 Sets the width of the bottom border
33 border-color 1 Sets the color of the four borders
34 border-left 1 Sets all the left border properties in one declaration
35 border-left-color 1 Sets the color of the left border
36 border-left-style 1 Sets the style of the left border
37 border-left-width 1 Sets the width of the left border
38 border-right 1 Sets all the right border properties in one declaration
39 border-right-color 1 Sets the color of the right border
40 border-right-style 1 Sets the style of the right border
41 border-right-width 1 Sets the width of the right border
42 border-style 1 Sets the style of the four borders
43 border-top 1 Sets all the top border properties in one declaration
44 border-top-color 1 Sets the color of the top border
45 border-top-style 1 Sets the style of the top border
46 border-top-width 1 Sets the width of the top border
47 border-width 1 Sets the width of the four borders
48 outline 2 Sets all the outline properties in one declaration
49 outline-color 2 Sets the color of an outline
50 outline-style 2 Sets the style of an outline
51 outline-width 2 Sets the width of an outline
52 border-bottom-left-radius 3 Defines the shape of the border of the bottom-left corner
53 border-bottom-right-radius 3 Defines the shape of the border of the bottom-right corner
54 border-image 3 Set for all the border-image-* properties
55 border-image-outset 3 Sets the amount by which the border image area extends beyond the border box
56 border-image-repeat 3 Sets whether the image-border should be repeated, rounded or stretched
57 border-image-slice 3 Sets the inward offsets of the image-border
58 border-image-source 3 Sets an image to be used as a border
59 border-image-width 3 Sets the widths of the image-border
60 border-radius 3 Sets for all the four border-*-radius properties
61 border-top-left-radius 3 Defines the shape of the border of the top-left corner
62 border-top-right-radius 3 Defines the shape of the border of the top-right corner
63 box-decoration-break 3
64 box-shadow 3 Attaches one or more drop-shadows to the box
65 overflow-x 3 Sets whether or not to clip the left/right edges of the content, if it overflows the element's content area
66 overflow-y 3 Sets whether or not to clip the top/bottom edges of the content, if it overflows the element's content area
67 overflow-style 3 Sets the preferred scrolling method for elements that overflow
68 rotation 3 Rotates an element around a given point defined by the rotation-point property
69 rotation-point 3 Sets a point as an offset from the top left border edge
70 color-profile 3 Allow to set for a source color profile other than the default
71 opacity 3 Sets the opacity level for an element
72 rendering-intent 3 Allow to set a color profile rendering intent other than the default
73 bookmark-label 3 Sets the label of the bookmark
74 bookmark-level 3 Sets the level of the bookmark
75 bookmark-target 3 Sets the target of the bookmark link
76 float-offset 3 Makes floated elements in the opposite direction of the where they have been floated with float
77 hyphenate-after 3 Sets the minimum number of characters in a hyphenated word after the hyphenation character
78 hyphenate-before 3 Sets the minimum number of characters in a hyphenated word before the hyphenation character
79 hyphenate-character 3 Sets a string that is shown when a hyphenate-break occurs
80 hyphenate-lines 3 Provides the maximum number of successive hyphenated lines in an element
81 hyphenate-resource 3 Sets a comma-separated list of external resources that can help the browser determine hyphenation points
82 hyphens 3 Sets how to split words to improve the layout of paragraphs
83 image-resolution 3 Sets the correct resolution of images
84 marks 3 Adds crop and/or cross marks to the document
85 string-set 3 Sets string
86 height 1 Sets the height of an element
87 max-height 2 Sets the maximum height of an element
88 max-width 2 Sets the maximum width of an element
89 min-height 2 Sets the minimum height of an element
90 min-width 2 Sets the minimum width of an element
91 width 1 Sets the width of an element
92 box-align 3 Sets how to align the child elements of a box
93 box-direction 3 Sets in which direction the children of a box are displayed
94 box-flex 3 Sets whether the children of a box is flexible or inflexible in size
95 box-flex-group 3 Assigns flexible elements to flex groups
96 box-lines 3 Sets whether columns will go onto a new line whenever it runs out of space in the parent box
97 box-ordinal-group 3 Sets the display order of the child elements of a box
98 box-orient 3 Sets whether the children of a box should be laid out horizontally or vertically
99 box-pack 3 Sets the horizontal position in horizontal boxes and the vertical position in vertical boxes
100 font 1 Sets all the font properties in one declaration
101 font-family 1 Sets the font family for text
102 font-size 1 Sets the font size of text
103 font-style 1 Sets the font style for text
104 font-variant 1 Sets whether or not a text should be displayed in a small-caps font
105 font-weight 1 Sets the weight of a font
106 @font-face 1 Permit websites to download and use fonts other than the "web-safe" fonts
107 font-size-adjust 1 Preserves the readability of text when font fallback occurs
108 font-stretch 1 Selects a normal, condensed, or expanded face from a font family
109 content 2 To insert generated content, and used with the :before and :after pseudo-elements,
110 counter-increment 2 Increments one or more counters
111 counter-reset 2 Creates or resets one or more counters
112 quotes 2 Sets the type of quotation marks for embedded quotations
113 crop 3 Allows a replaced element to be just a rectangular area of an object, instead of the whole object
114 move-to 3 Causes an element to be removed from the flow and reinserted at a later point in the document
115 page-policy 3 Determines which page-based occurance of a given element is applied to a counter or string value
116 grid-columns 3 Sets the width of each column in a grid
117 grid-rows 3 Sets the height of each column in a grid
118 target 3 A shorthand property for setting the target-name, target-new, and target-position properties
119 target-name 3 Sets where to open links (target destination)
120 target-new 3 Sets whether new destination links should open in a new window or in a new tab of an existing window
121 target-position 3 Sets where new destination links should be placed
122 alignment-adjust 3 Allows more precise alignment of elements
123 alignment-baseline 3 Specifies how an inline-level element is aligned with respect to its parent
124 baseline-shift 3 Allows repositioning of the dominant-baseline relative to the dominant-baseline
125 dominant-baseline 3 Specifies a scaled-baseline-table
126 drop-initial-after-adjust 3 Sets the alignment point of the drop initial for the primary connection point
127 drop-initial-after-align 3 Sets which alignment line within the initial line box is used at the primary connection point with the initial letter box
128 drop-initial-before-adjust 3 Sets the alignment point of the drop initial for the secondary connection point
129 drop-initial-before-align 3 Sets which alignment line within the initial line box is used at the secondary connection point with the initial letter box
130 drop-initial-size 3 Controls the partial sinking of the initial letter
131 drop-initial-value 3 Activates a drop-initial effect
132 inline-box-align 3 Sets which line of a multi-line inline block align with the previous and next inline elements within a line
133 line-stacking 3 A shorthand property for setting the line-stacking-strategy, line-stacking-ruby, and line-stacking-shift properties
134 line-stacking-ruby 3 Sets the line stacking method for block elements containing ruby annotation elements
135 line-stacking-shift 3 Sets the line stacking method for block elements containing elements with base-shift
136 line-stacking-strategy 3 Sets the line stacking strategy for stacked line boxes within a containing block element
137 text-height 3 Sets the block-progression dimension of the text content area of an inline box
138 list-style 1 Sets all the properties for a list in one declaration
139 list-style-image 1 Specifies an image as the list-item marker
140 list-style-position 1 Specifies if the list-item markers should appear inside or outside the content flow
141 list-style-type 1 Specifies the type of list-item marker
142 margin 1 Sets all the margin properties in one declaration
143 margin-bottom 1 Sets the bottom margin of an element
144 margin-left 1 Sets the left margin of an element
145 margin-right 1 Sets the right margin of an element
146 margin-top 1 Sets the top margin of an element
147 marquee-direction 3 Sets the direction of the moving content
148 marquee-play-count 3 Sets how many times the content move
149 marquee-speed 3 Sets how fast the content scrolls
150 marquee-style 3 Sets the style of the moving content
151 column-count 3 Sets the number of columns an element should be divided into
152 column-fill 3 Sets how to fill columns
153 column-gap 3 Sets the gap between the columns
154 column-rule 3 Sets for all the column-rule-* properties (shortcut)
155 column-rule-color 3 Sets the color of the rule between columns
156 column-rule-style 3 Sets the style of the rule between columns
157 column-rule-width 3 Sets the width of the rule between columns
158 column-span 3 Sets how many columns an element should span across
159 column-width 3 Sets the width of the columns
160 columns 3 A shorthand property for setting column-width and column-count
161 padding Sets 1 all the padding properties in one declaration
162 padding-bottom 1 Sets the bottom padding of an element
163 padding-left 1 Sets the left padding of an element
164 padding-right 1 Sets the right padding of an element
165 padding-top 1 Sets the top padding of an element
166 fit 3 Gives a hint for how to scale a replaced element if neither its width nor its height property is auto
167 fit-position 3 Determines the alignment of the object inside the box
168 image-orientation 3 Specifies a rotation in the right or clockwise direction that a user agent applies to an image
169 page 3 Specifies a particular type of page where an element SHOULD be displayed
170 size 3 Specifies the size and orientation of the containing box for page content
171 bottom 2 Sets the bottom position of a positioned element
172 clear 1 Sets which sides of an element where other floating elements are not allowed
173 clip 2 Clips an absolutely positioned element
174 cursor 2 Sets the type of cursor to be displayed
175 display 1 Sets how a certain HTML element should be displayed
176 float 1 Sets whether or not a box should float
177 left 2 Sets the left position of a positioned element
178 overflow 2 Sets what happens if content overflows an element's box
179 position 2 Sets the type of positioning method used for an element (static, relative, absolute or fixed)
180 right 2 Sets the right position of a positioned element
181 top 2 Sets the top position of a positioned element
182 visibility 2 Sets whether or not an element is visible
183 z-index 2 Sets the stack order of a positioned element
184 orphans 2 Sets the minimum number of lines that must be left at the bottom of a page when a page break occurs inside an element
185 page-break-after 2 Sets the page-breaking behavior after an element
186 page-break-before 2 Sets the page-breaking behavior before an element
187 page-break-inside 2 Sets the page-breaking behavior inside an element
188 widows 2 Sets the minimum number of lines that must be left at the top of a page when a page break occurs inside an element
189 ruby-align 3 Controls the text alignment of the ruby text and ruby base contents relative to each other
190 ruby-overhang 3 Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base
191 ruby-position 3 Controls the position of the ruby text with respect to its base
192 ruby-span 3 Controls the spanning behavior of annotation elements
193 mark 3 A shorthand property for setting the mark-before and mark-after properties
194 mark-after 3 Allows named markers to be attached to the audio stream
195 mark-before 3 Allows named markers to be attached to the audio stream
196 phonemes 3 Specifies a phonetic pronunciation for the text contained by the corresponding element
197 rest 3 A shorthand property for setting the rest-before and rest-after properties
198 rest-after 3 Specifies a rest or prosodic boundary to be observed after speaking an element's content
199 rest-before 3 Specifies a rest or prosodic boundary to be observed before speaking an element's content
200 voice-balance 3 Specifies the balance between left and right channels
201 voice-duration 3 Specifies how long it should take to render the selected element's content
202 voice-pitch 3 Specifies the average pitch (a frequency) of the speaking voice
203 voice-pitch-range 3 Specifies variation in average pitch
204 voice-rate 3 Controls the speaking rate
205 voice-stress 3 Indicates the strength of emphasis to be applied
206 voice-volume 3 Refers to the amplitude of the waveform output by the speech synthesises
207 border-collapse 2 Specifies whether or not table borders should be collapsed
208 border-spacing 2 Specifies the distance between the borders of adjacent cells
209 caption-side 2 Specifies the placement of a table caption
210 empty-cells 2 Specifies whether or not to display borders and background on empty cells in a table
211 table-layout 2 Sets the layout algorithm to be used for a table
212 color 1 Sets the color of text
213 direction 2 direction
214 letter-spacing 1 Increases or decreases the space between characters in a text
215 line-height 1 Sets the line height
216 text-align 1 Specifies the horizontal alignment of text
217 text-decoration 1 Specifies the decoration added to text
218 text-indent 1 Specifies the indentation of the first line in a text-block
219 text-transform 1 Controls the capitalization of text
220 unicode-bidi 2 for unicode
221 vertical-align 1 Sets the vertical alignment of an element
222 white-space 1 Specifies how white-space inside an element is handled
223 word-spacing 1 Increases or decreases the space between words in a text
224 hanging-punctuation 3 Specifies whether a punctuation character may be placed outside the line box
225 punctuation-trim 3 Specifies whether a punctuation character should be trimmed
226 text-align-last 3 Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"
227 text-justify 3 Specifies the justification method used when text-align is "justify"
228 text-outline 3 Specifies a text outline
229 text-overflow 3 Specifies what should happen when text overflows the containing element
230 text-shadow 3 Adds shadow to text
231 text-wrap 3 Specifies line breaking rules for text
232 word-break 3 Specifies line breaking rules for non-CJK scripts
233 word-wrap 3 Allows long, unbreakable words to be broken and wrap to the next line
234 transform 3 Applies a 2D or D transformation to an element
235 transform-origin 3 Allows you to change the position on transformed elements
236 transform-style 3 Specifies how nested elements are rendered in D space
237 perspective 3 Specifies the perspective on how D elements are viewed
238 perspective-origin 3 Specifies the bottom position of D elements
239 backface-visibility 3 Defines whether or not an element should be visible when not facing the screen
240 transition 3 A shorthand property for setting the four transition properties
241 transition-property 3 Sets the name of the CSS property the transition effect is for
242 transition-duration 3 Sets how many seconds or milliseconds a transition effect takes to complete
243 transition-timing-function 3 Sets the speed curve of the transition effect
244 transition-delay 3 Sets when the transition effect will start
245 appearance 3 Allows you to make an element look like a standard user interface element
246 box-sizing 3 Allows you to define certain elements to fit an area in a certain way
247 icon 3 Provides the author the ability to style an element with an iconic equivalent
248 nav-down 3 Sets where to navigate when using the arrow-down navigation key
249 nav-index 3 Sets the tabbing order for an element
250 nav-left 3 Sets where to navigate when using the arrow-left navigation key
251 nav-right 3 Sets where to navigate when using the arrow-right navigation key
252 nav-up 3 Sets where to navigate when using the arrow-up navigation key
253 outline-offset 3 Offsets an outline, and draws it beyond the border edge
254 resize 3 Sets whether or not an element is resizable by the user
Navigation
Web
SQL
MISC
References