You are on page 1of 22

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

Animation Properties Property @keyframes animation Description Specifies the animation CSS 3

A shorthand property for all the 3 animation properties below, except the animation-play-state property Specifies a name for the @keyframes animation 3

animationname animationduration

Specifies how many seconds or 3 milliseconds an animation takes to complete one cycle 3 3 3 3

animationSpecifies the speed curve of the timing-function animation animationdelay Specifies when the animation will start

animationSpecifies the number of times an iteration-count animation should be played animationdirection Specifies whether or not the animation should play in reverse on alternate cycles

animation-play- Specifies whether the animation is 3 state running or paused Background Properties Property background Description CSS Sets all the background properties 1

in one declaration backgroundattachment backgroundcolor backgroundimage backgroundposition backgroundrepeat Sets whether a background image 1 is fixed or scrolls with the rest of the page Sets the background color of an element 1

Sets the background image for an 1 element Sets the starting position of a background image 1

Sets how a background image will 1 be repeated 3 3 3

background-clip Specifies the painting area of the background backgroundorigin Specifies the positioning area of the background images

background-size Specifies the size of the background images Border and Outline Properties Property border border-bottom Description Sets all the border properties in one declaration Sets all the bottom border properties in one declaration

CSS 1 1 1 1

border-bottom- Sets the color of the bottom color border border-bottom- Sets the style of the bottom

style

border 1 1 1 1 1 1

border-bottom- Sets the width of the bottom width border border-color border-left border-leftcolor border-leftstyle border-leftwidth border-right border-rightcolor border-rightstyle border-rightwidth border-style border-top border-topcolor border-topstyle border-topSets 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 1 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 Sets the style of the top border Sets the width of the top border 1 1 1 1 1 1 1 1

width border-width outline outline-color outline-style outline-width Sets the width of the four borders 1 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 2 2 2

border-bottom- Defines the shape of the border of 3 left-radius the bottom-left corner border-bottom- Defines the shape of the border of 3 right-radius the bottom-right corner border-image border-imageoutset border-imagerepeat border-imageslice border-imagesource border-imagewidth border-radius A shorthand property for setting all the border-image-* properties 3

Specifies the amount by which the 3 border image area extends beyond the border box Specifies whether the imageborder should be repeated, rounded or stretched 3

Specifies the inward offsets of the 3 image-border Specifies an image to be used as a 3 border Specifies the widths of the image- 3 border A shorthand property for setting all the four border-*-radius properties 3

border-top-left- Defines the shape of the border of 3 radius the top-left corner border-topright-radius box-decorationbreak box-shadow Box Properties Property Description overflow-x Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area overflow-y Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area overflowstyle rotation CSS 3 Attaches one or more dropshadows to the box Defines the shape of the border of 3 the top-right corner 3 3

Specifies the preferred scrolling method 3 for elements that overflow Rotates an element around a given point defined by the rotation-point property Defines a point as an offset from the top left border edge Description 3

rotationpoint Property

Color Properties CSS 3 color-profile Permits the specification of a source color profile other than the default

opacity renderingintent

Sets the opacity level for an element

Permits the specification of a color 3 profile rendering intent other than the default Description Specifies the label of the bookmark Specifies the level of the bookmark CSS 3 3

Content for Paged Media Properties Property bookmarklabel bookmarklevel bookmarktarget float-offset

Specifies the target of the bookmark 3 link Pushes floated elements in the 3 opposite direction of the where they have been floated with float Specifies the minimum number of characters in a hyphenated word after the hyphenation character Specifies the minimum number of characters in a hyphenated word before the hyphenation character 3

hyphenateafter hyphenatebefore hyphenatecharacter hyphenatelines hyphenateresource

Specifies a string that is shown when 3 a hyphenate-break occurs Indicates the maximum number of successive hyphenated lines in an element 3

Specifies a comma-separated list of 3 external resources that can help the

browser determine hyphenation points hyphens imageresolution marks string-set Dimension Properties Property height max-height max-width min-height min-width width Property box-align boxDescription Sets the height of an element Sets the maximum height of an element Sets the maximum width of an element Sets the minimum height of an element Sets the minimum width of an element Sets the width of an element Description Specifies how to align the child elements of a box Specifies in which direction the CSS 1 2 2 2 2 1 CSS 3 3 Sets how to split words to improve the layout of paragraphs Specifies the correct resolution of images 3 3

Adds crop and/or cross marks to the 3 document 3

Flexible Box Properties

direction box-flex box-flexgroup box-lines

children of a box are displayed Specifies whether the children of a box 3 is flexible or inflexible in size Assigns flexible elements to flex groups 3

Specifies whether columns will go onto 3 a new line whenever it runs out of space in the parent box

box-ordinal- Specifies the display order of the child 3 group elements of a box box-orient Specifies whether the children of a box 3 should be laid out horizontally or vertically Specifies the horizontal position in horizontal boxes and the vertical position in vertical boxes Description Sets all the font properties in one declaration Specifies the font size of text Specifies the font style for text 3

box-pack

Font Properties Property font CSS 1 1 1 1

font-family Specifies the font family for text font-size font-style

font-variant Specifies whether or not a text should 1 be displayed in a small-caps font font-weight Specifies the weight of a font @font-face A rule that allows websites to 1 3

download and use fonts other than the "web-safe" fonts font-sizeadjust Preserves the readability of text when 3 font fallback occurs 3

font-stretch Selects a normal, condensed, or expanded face from a font family Generated Content Properties Property content Description

CSS

Used with the :before and :after 2 pseudo-elements, to insert generated content Increments one or more counters Creates or resets one or more counters Sets the type of quotation marks for embedded quotations 2 2 2

counterincrement counterreset quotes crop

Allows a replaced element to be just a 3 rectangular area of an object, instead of the whole object Causes an element to be removed 3 from the flow and reinserted at a later point in the document 3

move-to

page-policy Determines which page-based occurance of a given element is applied to a counter or string value Grid Properties

Property

Description

CSS

grid-columns Specifies the width of each column in 3 a grid grid-rows Specifies the height of each column in a grid 3

Hyperlink Properties Property Description target A shorthand property for setting the target-name, target-new, and targetposition properties Specifies where to open links (target destination) CSS 3

targetname

target-new Specifies whether new destination links 3 should open in a new window or in a new tab of an existing window targetposition Property alignmentadjust alignmentbaseline Specifies where new destination links should be placed Description Allows more precise alignment of elements 3

Linebox Properties CSS 3

Specifies how an inline-level element 3 is aligned with respect to its parent 3

baseline-shift Allows repositioning of the dominant-baseline relative to the dominant-baseline dominantSpecifies a scaled-baseline-table

baseline drop-initialafter-adjust drop-initialafter-align Sets the alignment point of the drop 3 initial for the primary connection point Sets which alignment line within the 3 initial line box is used at the primary connection point with the initial letter box

drop-initial- Sets the alignment point of the drop 3 before-adjust initial for the secondary connection point drop-initialbefore-align Sets which alignment line within the 3 initial line box is used at the secondary connection point with the initial letter box Controls the partial sinking of the initial letter Activates a drop-initial effect 3 3

drop-initialsize drop-initialvalue inline-boxalign

Sets which line of a multi-line inline 3 block align with the previous and next inline elements within a line

line-stacking A shorthand property for setting the 3 line-stacking-strategy, line-stackingruby, and line-stacking-shift properties line-stacking- Sets the line stacking method for ruby block elements containing ruby annotation elements 3

line-stacking- Sets the line stacking method for 3 shift block elements containing elements with base-shift line-stacking- Sets the line stacking strategy for strategy stacked line boxes within a containing block element text-height Sets the block-progression dimension of the text content area of an inline box Description 3

List Properties Property list-style list-styleimage list-styleposition list-styletype Property margin marginbottom margin-left CSS Sets all the properties for a list in one 1 declaration Specifies an image as the list-item marker Specifies if the list-item markers should appear inside or outside the content flow 1 1

Specifies the type of list-item marker 1

Margin Properties Description CSS Sets all the margin properties in one 1 declaration Sets the bottom margin of an element Sets the left margin of an element 1 1

margin-right Sets the right margin of an element margin-top Property marqueedirection marquee-playcount marquee-speed marquee-style Sets the top margin of an element Description Marquee Properties

1 1 CSS

Sets the direction of the moving 3 content Sets how many times the content move Sets the style of the moving content 3

Sets how fast the content scrolls 3 3

Multi-column Properties Property columncount column-fill column-gap column-rule Description Specifies the number of columns an element should be divided into Specifies how to fill columns Specifies the gap between the columns A shorthand property for setting all the column-rule-* properties CSS 3 3 3 3 3 3 3

column-rule- Specifies the color of the rule color between columns column-rule- Specifies the style of the rule style between columns column-rule- Specifies the width of the rule width between columns

column-span Specifies how many columns an element should span across column-width Specifies the width of the columns columns A shorthand property for setting column-width and column-count Description Sets all the padding properties in one declaration Sets the bottom padding of an element Sets the left padding of an element Sets the top padding of an element Description Gives a hint for how to scale a replaced element if neither its width nor its height property is auto Determines the alignment of the object inside the box Specifies a rotation in the right or clockwise direction that a user agent applies to an image Specifies a particular type of page where an element SHOULD be displayed

3 3 3

Padding Properties Property padding paddingbottom padding-left padding-top Property fit CSS 1 1 1 1 CSS 3

padding-right Sets the right padding of an element 1 Paged Media Properties

fit-position imageorientation page

3 3

size

Specifies the size and orientation of the containing box for page content Description Specifies the bottom position of a positioned element Specifies which sides of an element where other floating elements are not allowed Clips an absolutely positioned element Specifies the type of cursor to be displayed Specifies how a certain HTML element should be displayed Specifies whether or not a box should float Specifies the left position of a positioned element Specifies what happens if content overflows an element's box Specifies the type of positioning method used for an element (static, relative, absolute or fixed) Specifies the right position of a positioned element Specifies the top position of a positioned element

Positioning Properties Property bottom clear CSS 2 1

clip cursor display float left overflow position

2 2 1 1 2 2 2

right top

2 2

visibility z-index

Specifies whether or not an element is 2 visible Sets the stack order of a positioned element Description 2

Print Properties Property orphans CSS Sets the minimum number of lines that 2 must be left at the bottom of a page when a page break occurs inside an element

pageSets the page-breaking behavior after 2 break-after an element pagebreakbefore pagebreakinside widows Sets the page-breaking behavior before an element 2

Sets the page-breaking behavior inside 2 an element Sets the minimum number of lines that 2 must be left at the top of a page when a page break occurs inside an element CSS 3

Ruby Properties Property Description ruby-align Controls the text alignment of the ruby text and ruby base contents relative to each other ruby-

Determines whether, and on which side, 3

overhang 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 rubyposition Controls the position of the ruby text with respect to its base 3 3

ruby-span Controls the spanning behavior of annotation elements Speech Properties Property mark Description A shorthand property for setting the mark-before and mark-after properties

CSS 3

mark-after

Allows named markers to be attached 3 to the audio stream

mark-before Allows named markers to be attached 3 to the audio stream phonemes Specifies a phonetic pronunciation for 3 the text contained by the corresponding element A shorthand property for setting the rest-before and rest-after properties Specifies a rest or prosodic boundary to be observed after speaking an element's content Specifies a rest or prosodic boundary to be observed before speaking an element's content 3 3

rest rest-after

rest-before

voicebalance voiceduration voice-pitch

Specifies the balance between left and 3 right channels Specifies how long it should take to 3 render the selected element's content Specifies the average pitch (a frequency) of the speaking voice 3 3 3

voice-pitch- Specifies variation in average pitch range voice-rate Controls the speaking rate

voice-stress Indicates the strength of emphasis to 3 be applied voicevolume Refers to the amplitude of the waveform output by the speech synthesises Description 3

Table Properties Property bordercollapse borderspacing captionside CSS Specifies whether or not table borders 2 should be collapsed Specifies the distance between the borders of adjacent cells Specifies the placement of a table caption 2 2 2

empty-cells Specifies whether or not to display borders and background on empty cells in a table tablelayout Sets the layout algorithm to be used for a table

Text Properties Property color direction Description Sets the color of text Specifies the text direction/writing direction CSS 1 2 1 1

letter-spacing Increases or decreases the space between characters in a text line-height text-align textdecoration text-indent texttransform unicode-bidi vertical-align Sets the vertical alignment of an element white-space Sets the line height

Specifies the horizontal alignment of 1 text Specifies the decoration added to text 1

Specifies the indentation of the first 1 line in a text-block Controls the capitalization of text 1 2 1

Specifies how white-space inside an 1 element is handled 1

word-spacing Increases or decreases the space between words in a text hangingpunctuation punctuation-

Specifies whether a punctuation 3 character may be placed outside the line box Specifies whether a punctuation 3

trim

character should be trimmed

text-align-last Describes how the last line of a 3 block or a line right before a forced line break is aligned when text-align is "justify" text-justify text-outline Specifies the justification method used when text-align is "justify" Specifies a text outline 3 3

text-overflow Specifies what should happen when 3 text overflows the containing element text-shadow text-wrap word-break word-wrap Adds shadow to text 3 Specifies line breaking rules for text 3 Specifies line breaking rules for non- 3 CJK scripts Allows long, unbreakable words to 3 be broken and wrap to the next line Description CSS

2D/3D Transform Properties Property transform transformorigin transformstyle perspective Applies a 2D or 3D transformation to 3 an element Allows you to change the position on 3 transformed elements Specifies how nested elements are rendered in 3D space 3

Specifies the perspective on how 3D 3 elements are viewed

perspectiveorigin backfacevisibility

Specifies the bottom position of 3D elements Defines whether or not an element should be visible when not facing the screen Description A shorthand property for setting the four transition properties

3 3

Transition Properties Property transition transitionproperty transitionduration CSS 3

Specifies the name of the CSS 3 property the transition effect is for Specifies how many seconds or milliseconds a transition effect takes to complete 3

transitionSpecifies the speed curve of the timing-function transition effect transitiondelay Property

Specifies when the transition effect 3 will start Description CSS

User-interface Properties appearance Allows you to make an element look 3 like a standard user interface element box-sizing icon nav-down Allows you to define certain elements 3 to fit an area in a certain way Provides the author the ability to style 3 an element with an iconic equivalent Specifies where to navigate when 3

using the arrow-down navigation key nav-index nav-left nav-right nav-up outlineoffset resize Specifies the tabbing order for an element Specifies where to navigate when using the arrow-left navigation key Specifies where to navigate when using the arrow-right navigation key Specifies where to navigate when using the arrow-up navigation key Offsets an outline, and draws it beyond the border edge Specifies whether or not an element is resizable by the user 3 3 3 3 3 3

You might also like