height
height
// Sets the height of an element height : auto; height : length; height : initial; height : inherit;
width
width
// Sets the width of an element width : auto; width : value; width : initial; width : inherit;
color
color
// Sets the color of text color : color; color : initial; color : inherit;
display
display
// Specifies how a certain HTML element should be displayed display : inline; display : block; display : contents; display : flex; display : grid; display : inline-block; display : inline-flex; display : inline-grid; display : inline-table; display : list-item; display : run-in; display : table; display : table-caption; display : table-column-group display : table-header-group; display : table-footer-group; display : table-row-group; display : table-cell; display : table-column; display : table-row; display : none; display : initial; display : inherit;
float
float
// Specifies whether or not a box should float float : none; float : left; float : right; float : initial; float : inherit;
z-index
z-index
// Sets the stack order of a positioned element z-index : auto; z-index : number; z-index : initial; z-index : inherit;
filter
filter
// Defines effects (e.g. blurring or color shifting) on an element before the element is displayed filter : none; filter : blur(); filter : brightness() filter : contrast(); filter : drop-shadow(); filter : grayscale(); filter : hue-rotate(); filter : invert(); filter : opacity(); filter : saturate(); filter : sepia(); filter : url();
cursor
cursor
// Specifies the mouse cursor to be displayed when pointing over an element cursor : alias; cursor : all-scroll; cursor : auto; cursor : cell; cursor : context-menu; cursor : col-resize; cursor : copy; cursor : crosshair; cursor : default; cursor : e-resize; cursor : ew-resize; cursor : grab; cursor : grabbing; cursor : help; cursor : move; cursor : n-resize; cursor : ne-resize; cursor : nesw-resize; cursor : ns-resize; cursor : nw-resize; cursor : nwse-resize; cursor : no-drop; cursor : none; cursor : not-allowed; cursor : pointer; cursor : progress; cursor : row-resize; cursor : s-resize; cursor : se-resize; cursor : sw-resize; cursor : text; cursor : url(myBall.cur),auto; cursor : w-resize; cursor : wait; cursor : zoom-in; cursor : zoom-out; cursor : alias; cursor : all-scroll; cursor : auto; cursor : cell; cursor : context-menu; cursor : col-resize; cursor : copy; cursor : crosshair; cursor : default; cursor : e-resize; cursor : ew-resize; cursor : grab; cursor : grabbing; cursor : help; cursor : move; cursor : n-resize; cursor : ne-resize; cursor : nesw-resize; cursor : ns-resize; cursor : nw-resize cursor : nwse-resize; cursor : no-drop; cursor : none; cursor : not-allowed; cursor : pointer; cursor : progress; cursor : row-resize; cursor : s-resize; cursor : se-resize cursor : sw-resize; cursor : text; cursor : url(myBall.cur),auto; cursor : w-resize; cursor : wait; cursor : zoom-in; cursor : zoom-out; cursor : initial; cursor : inherit;
opacity
opacity
// Sets the opacity level for an element opacity : number; opacity : initial; opacity : inherit;
order
order
// Sets the order of the flexible item, relative to the rest order : number; order : initial; order : inherit;
pointer-events
pointer-events
// Defines whether or not an element reacts to pointer events pointer-events : auto; pointer-events : none;
position
position
// Specifies the type of positioning method used for an element (static, relative, absolute or fixed) position : static; position : absolute; position : fixed; position : relative; position : sticky; position : initial; position : inherit;
white-space
white-space
// Specifies how white-space inside an element is handled white-space : normal; white-space : nowrap; white-space : pre; white-space : pre-line; white-space : pre-wrap; white-space : initial; white-space : inherit;
animation
animation
// A shorthand property for all the animation-* properties animation : name duration timing-function delay iteration-count direction fill-mode play-state;
animation-name
animation-name
// Specifies a name for the @keyframes animation animation-name : keyframename; animation-name : none; animation-name : initial; animation-name : inherit;
animation-duration
animation-duration
// Specifies how long an animation should take to complete one cycle animation-duration : time; animation-duration : initial; animation-duration : inherit;
animation-delay
animation-delay
// Specifies a delay for the start of an animation animation-delay : time; animation-delay : initial; animation-delay : inherit;
animation-direction
animation-direction
// Specifies whether an animation should be played forwards, backwards or in alternate cycles animation-direction : normal; animation-direction : reverse; animation-direction : alternate; animation-direction : alternate-reverse; animation-direction : initial; animation-direction : inherit;
animation-fill-mode
animation-fill-mode
// Specifies a style for the element when the animation is not playing (before it starts, after it ends, or both) animation-fill-mode : none; animation-fill-mode : forwards; animation-fill-mode : backwards; animation-fill-mode : both; animation-fill-mode : initial; animation-fill-mode : inherit;
animation-play-state
animation-play-state
// Specifies whether the animation is running or paused animation-play-state : paused; animation-play-state : running; animation-play-state : initial; animation-play-state : inherit;
animation-iteration-count
animation-iteration-count
// Specifies the number of times an animation should be played animation-iteration-count : number; animation-iteration-count : infinite; animation-iteration-count : initial; animation-iteration-count : inherit;
animation-timing-function
animation-timing-function
// Specifies the speed curve of an animation animation-timing-function : linear; animation-timing-function : ease; animation-timing-function : ease-in animation-timing-function : ease-out; animation-timing-function : ease-in-out; animation-timing-function : step-start; animation-timing-function : step-end; animation-timing-function : steps(int,start; animation-timing-function : end); animation-timing-function : cubic-bezier(n,n,n,n); animation-timing-function : initial; animation-timing-function : inherit;
background
background
// A shorthand property for all the background-* properties background-color background-image background-position background-size background-repeat background-origin background-clip background-attachment background : bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial; background : inherit;
background-attachment
background-attachment
// Sets whether a background image scrolls with the rest of the page, or is fixed background-attachment : scroll; background-attachment : fixed; background-attachment : local; background-attachment : initial; background-attachment : inherit;
background-blend-mode
background-blend-mode
// Specifies the blending mode of each background layer (color/image) background-blend-mode : normal; background-blend-mode : multiply; background-blend-mode : screen; background-blend-mode : overlay; background-blend-mode : darken; background-blend-mode : lighten; background-blend-mode : color-dodge; background-blend-mode : saturation; background-blend-mode : color; background-blend-mode : luminosity;
background-clip
background-clip
// Defines how far the background (color or image) should extend within an element background-clip : border-box; background-clip : padding-box; background-clip : content-box; background-clip : initial; background-clip : inherit;
background-color
background-color
// Specifies the background color of an element background-color : color; background-color : transparent; background-color : initial; background-color : inherit;
background-image
background-image
// Specifies one or more background images for an element background-image : url; background-image : none; background-image : initial; background-image : inherit;
background-origin
background-origin
// Specifies the origin position of a background image background-origin : padding-box; background-origin : border-box; background-origin : content-box; background-origin : initial; background-origin : inherit;
background-position
background-position
// Specifies the position of a background image background-position : left top; background-position : left center; background-position : left bottom; background-position : right top; background-position : right center; background-position : right bottom; background-position : center top; background-position : center center; background-position : center bottom; background-position : x% y%; background-position : xpos ypos; background-position : initial; background-position : inherit;
background-repeat
background-repeat
// Sets if/how a background image will be repeated background-repeat : repeat; background-repeat : repeat-x; background-repeat : repeat-y; background-repeat : no-repeat; background-repeat : initial; background-repeat : inherit;
background-size
background-size
// Specifies the size of the background images background-size : auto; background-size : length; background-size : cover; background-size : contain; background-size : initial; background-size : inherit;
border
border
// A shorthand property border-width border-style border-color border : border-width border-style border-color; border : initial; border : inherit;
border-color
border-color
// Sets the color of the four borders border-color : color; border-color : transparent; border-color : initial; border-color : inherit; // all_color // top_color left_right_color // top_bottom_color left_right_color bottom_color // top_color bottom_color left_color right_color
border-style
border-style
// Sets the style of the four borders border-style : none; border-style : hidden; border-style : dotted border-style : dashed; border-style : solid; border-style : double; border-style : groove; border-style : ridge; border-style : inset; border-style : outset; border-style : initial; border-style : inherit; // top right bottom left // top right bottom // top_bottom left_right // all_border
border-width
border-width
// Sets the width of the four borders border-width : medium; border-width : thin; border-width : thick; border-width : length; border-width : initial; border-width : inherit; // thin medium thick 10px top border is thin right border is medium bottom border is thick left border is 10px // thin medium thick top border is thin right and left borders are medium bottom border is thick // thin medium top and bottom borders are thin right and left borders are medium // thin all four borders are thin
border-radius
border-radius
// A shorthand property for the four border-*-radius properties border-radius : 1-4 length; border-radius : % / 1-4 length; border-radius : %; border-radius : initial; border-radius : inherit; // top-left top-right bottom-right bottom-left // top-left top-right bottom-right // top-left_and_bottom-right top-right_bottom-left // all_corner
border-spacing
border-spacing
// Sets the distance between the borders of adjacent cells - one value, horizontal and vertical spacing - two values, horizontal spacing and the vertical spacing border-spacing : length; border-spacing : initial; border-spacing : inherit;
border-collapse
border-collapse
// Sets whether table borders should collapse into a single border or be separated border-collapse : separate; border-collapse : collapse; border-collapse : initial; border-collapse : inherit;
border-top
border-top
// A shorthand property border-top-width border-top-style border-top-color border-top : border-width border-style border-color; border-top : initial; border-top : inherit;
border-top-color
border-top-color
// Sets the color of the top border border-top-color : color; border-top-color : transparent; border-top-color : initial; border-top-color : inherit;
border-top-style
border-top-style
// Sets the style of the top border border-top-style : none; border-top-style : hidden; border-top-style : dotted border-top-style : dashed; border-top-style : solid; border-top-style : double; border-top-style : groove; border-top-style : ridge; border-top-style : inset; border-top-style : outset; border-top-style : initial; border-top-style : inherit;
border-top-width
border-top-width
// Sets the width of the top border border-top-width : medium; border-top-width : thin; border-top-width : thick; border-top-width : length; border-top-width : initial; border-top-width : inherit;
border-top-left-radius
border-top-left-radius
// Defines the radius of the border of the top-left corner border-top-left-radius : length; border-top-left-radius : % [length; border-top-left-radius : %]; border-top-left-radius : initial; border-top-left-radius : inherit;
border-top-right-radius
border-top-right-radius
// Defines the radius of the border of the top-right corner border-top-right-radius : length; border-top-right-radius : % [length; border-top-right-radius : %]; border-top-right-radius : initial; border-top-right-radius : inherit;
border-bottom
border-bottom
// A shorthand property border-bottom-width border-bottom-style border-bottom-color border-bottom : border-width border-style border-color; border-bottom : initial; border-bottom : inherit;
border-bottom-color
border-bottom-color
// Sets the color of the bottom border border-bottom-color : color; border-bottom-color : transparent; border-bottom-color : initial; border-bottom-color : inherit;
border-bottom-style
border-bottom-style
// Sets the style of the bottom border border-bottom-style : none; border-bottom-style : hidden; border-bottom-style : dotted border-bottom-style : dashed; border-bottom-style : solid; border-bottom-style : double; border-bottom-style : groove; border-bottom-style : ridge; border-bottom-style : inset; border-bottom-style : outset; border-bottom-style : initial; border-bottom-style : inherit;
border-bottom-width
border-bottom-width
// Sets the width of the bottom border border-bottom-width : medium; border-bottom-width : thin; border-bottom-width : thick; border-bottom-width : length; border-bottom-width : initial; border-bottom-width : inherit;
border-bottom-left-radius
border-bottom-left-radius
// Defines the radius of the border of the bottom-left corner border-bottom-left-radius : length; border-bottom-left-radius : % [length; border-bottom-left-radius : %]; border-bottom-left-radius : initial; border-bottom-left-radius : inherit;
border-bottom-right-radius
border-bottom-right-radius
// Defines the radius of the border of the bottom-right corner border-bottom-right-radius : length; border-bottom-right-radius : % [length; border-bottom-right-radius : %]; border-bottom-right-radius : initial; border-bottom-right-radius : inherit;
border-left
border-left
// A shorthand property border-left-width border-left-style border-left-color border-left : border-width border-style border-color; border-left : initial; border-left : inherit;
border-left-color
border-left-color
// Sets the color of the left border border-left-color : color; border-left-color : transparent; border-left-color : initial; border-left-color : inherit;
border-left-style
border-left-style
// Sets the style of the left border border-left-style : none; border-left-style : hidden; border-left-style : dotted border-left-style : dashed; border-left-style : solid; border-left-style : double; border-left-style : groove; border-left-style : ridge; border-left-style : inset; border-left-style : outset; border-left-style : initial; border-left-style : inherit;
border-left-width
border-left-width
// Sets the width of the left border border-left-width : medium; border-left-width : thin; border-left-width : thick; border-left-width : length; border-left-width : initial; border-left-width : inherit;
border-right
border-right
// A shorthand property border-right-width border-right-style border-right-color border-right : border-width border-style border-color; border-right : initial; border-right : inherit;
border-right-color
border-right-color
// Sets the color of the right border border-right-color : color; border-right-color : transparent; border-right-color : initial; border-right-color : inherit;
border-right-style
border-right-style
// Sets the style of the right border border-right-style : none; border-right-style : hidden; border-right-style : dotted border-right-style : dashed; border-right-style : solid; border-right-style : double; border-right-style : groove; border-right-style : ridge; border-right-style : inset; border-right-style : outset; border-right-style : initial; border-right-style : inherit;
border-right-width
border-right-width
// Sets the width of the right border border-right-width : medium; border-right-width : thin; border-right-width : thick; border-right-width : length; border-right-width : initial; border-right-width : inherit;
border-image
border-image
// A shorthand property for all the border-image-* properties border-image-source border-image-slice border-image-width border-image-outset border-image-repeat border-image : source slice width outset repeat; border-image : initial; border-image : inherit
border-image-outset
border-image-outset
// Specifies the amount by which the border image area extends beyond the border box border-image-outset : length; border-image-outset : number; border-image-outset : initial; border-image-outset : inherit;
border-image-repeat
border-image-repeat
// Specifies whether the border image should be repeated, rounded or stretched border-image-repeat : stretch; border-image-repeat : repeat; border-image-repeat : round; border-image-repeat : initial; border-image-repeat : inherit;
border-image-slice
border-image-slice
// Specifies how to slice the border image border-image-slice : number; border-image-slice : %; border-image-slice : fill; border-image-slice : initial; border-image-slice : inherit;
border-image-source
border-image-source
// Specifies the path to the image to be used as a border border-image-source : none; border-image-source : image; border-image-source : initial; border-image-source : inherit;
border-image-width
border-image-width
// Specifies the width of the border image border-image-width : number; border-image-width : %; border-image-width : auto; border-image-width : initial; border-image-width : inherit;
top
top
// Specifies the top position of a positioned element top : auto; top : length; top : initial; top : inherit;
bottom
bottom
// Sets the elements position, from the bottom of its parent element bottom : auto; bottom : length; bottom : initial; bottom : inherit;
left
left
// Specifies the left position of a positioned element left : auto; left : length; left : initial; left : inherit;
right
right
// Specifies the right position of a positioned element right : auto; right : length; right : initial; right : inherit;
margin
margin
// Sets all the margin properties in one declaration margin : length; margin : auto; margin : initial; margin : inherit; // top right bottom left // top right_left bottom // top_bottom right_left // top_bottom_right_left
margin-bottom
margin-bottom
// Sets the bottom margin of an element margin-bottom : length; margin-bottom : auto; margin-bottom : initial; margin-bottom : inherit;
margin-left
margin-left
// Sets the left margin of an element margin-left : length; margin-left : auto; margin-left : initial; margin-left : inherit;
margin-right
margin-right
// Sets the right margin of an element margin-right : length; margin-right : auto; margin-right : initial; margin-right : inherit;
margin-top
margin-top
// Sets the top margin of an element margin-top : length; margin-top : auto; margin-top : initial; margin-top : inherit;
padding
padding
// A shorthand property for all the padding-* properties padding-top padding-right padding-bottom padding-left // top right bottom left // top right_left bottom // top_bottom right_left // top_bottom_right_left
padding-bottom
padding-bottom
// Sets the bottom padding of an element padding-bottom : length; padding-bottom : initial; padding-bottom : inherit;
padding-left
padding-left
// Sets the left padding of an element padding-left : length; padding-left : initial; padding-left : inherit;
padding-right
padding-right
// Sets the right padding of an element padding-right : length; padding-right : initial; padding-right : inherit;
padding-top
padding-top
// Sets the top padding of an element padding-top : length; padding-top : initial; padding-top : inherit;
flex
flex
// A shorthand property for the flex-grow, flex-shrink, and the flex-basis properties flex-grow flex-shrink flex-basis flex : flex-grow flex-shrink flex-basis; flex : auto; flex : initial; flex : inherit;
flex-basis
flex-basis
// Specifies the initial length of a flexible item flex-basis : number; flex-basis : auto; flex-basis : initial; flex-basis : inherit;
flex-direction
flex-direction
// Specifies the direction of the flexible items flex-direction : row; flex-direction : row-reverse; flex-direction : column; flex-direction : column-reverse; flex-direction : initial; flex-direction : inherit;
flex-flow
flex-flow
// A shorthand property for the flex-direction and the flex-wrap properties flex-direction flex-wrap flex-flow : flex-direction flex-wrap; flex-flow : initial; flex-flow : inherit;
flex-grow
flex-grow
// Specifies how much the item will grow relative to the rest flex-grow : number; flex-grow : initial; flex-grow : inherit;
flex-shrink
flex-shrink
// Specifies how the item will shrink relative to the rest flex-shrink : number; flex-shrink : initial; flex-shrink : inherit;
flex-wrap
flex-wrap
// Specifies whether the flexible items should wrap or not flex-wrap : nowrap; flex-wrap : wrap; flex-wrap : wrap-reverse; flex-wrap : initial; flex-wrap : inherit;
align-content
align-content
// Specifies the alignment between the lines inside a flexible container when the items do not use all available space align-content : stretch; align-content : center; align-content : flex-start; align-content : flex-end; align-content : space-between; align-content : space-around; align-content : initial; align-content : inherit;
align-items
align-items
// Specifies the alignment for items inside a flexible container align-items : stretch; align-items : center; align-items : flex-start; align-items : flex-end; align-items : baseline; align-items : initial; align-items : inherit;
align-self
align-self
// Specifies the alignment for selected items inside a flexible container align-self : auto; align-self : stretch; align-self : center; align-self : flex-start; align-self : flex-end; align-self : baseline; align-self : initial; align-self : inherit;
justify-content
justify-content
// Specifies the alignment between the items inside a flexible container when the items do not use all available space justify-content : flex-start; justify-content : flex-end; justify-content : center; justify-content : space-between; justify-content : space-around; justify-content : initial; justify-content : inherit;
justify-items
justify-items
// defines the default justify-self for all items of the box justify-items : stretch; justify-items : center; justify-items : flex-start; justify-items : flex-end; justify-items : baseline; justify-items : initial; justify-items : inherit;
justify-self
justify-self
// justify-self property sets the way a box is justified inside its alignment container along the appropriate axis justify-self : auto; justify-self : stretch; justify-self : center; justify-self : flex-start; justify-self : flex-end; justify-self : baseline; justify-self : initial; justify-self : inherit;
place-content
place-content
// align content along both the block and inline directions at once // the align-content and justify-content place-content : center start; place-content : start center; place-content : end left; place-content : flex-start center; place-content : flex-end center; place-content : baseline center; place-content : first baseline space-evenly; place-content : last baseline right; place-content : space-between space-evenly; place-content : space-around space-evenly; place-content : space-evenly stretch; place-content : stretch space-evenly; place-content : inherit; place-content : initial; place-content : unset;
place-items
place-items
// align items along both the block and inline directions at once // align-items and justify-items place-items : auto center; place-items : normal start; place-items : center normal; place-items : start auto; place-items : end normal; place-items : self-start auto; place-items : self-end normal; place-items : flex-start auto; place-items : flex-end normal place-items : left auto; place-items : right normal; place-items : baseline normal; place-items : first baseline auto; place-items : last baseline normal; place-items : stretch auto; place-items : inherit; place-items : initial; place-items : unset;
place-self
place-self
// align an individual item in both the block and inline directions at once // align-self and justify-self place-self : auto center; place-self : normal start; place-self : center normal; place-self : start auto; place-self : end normal; place-self : self-start auto; place-self : self-end normal; place-self : flex-start auto; place-self : flex-end normal place-self : left auto; place-self : right normal; place-self : baseline normal; place-self : first baseline auto; place-self : last baseline normal; place-self : stretch auto; place-self : inherit; place-self : initial; place-self : unset;
grid
grid
// A shorthand property grid-template-rows grid-template-columns grid-template-areas grid-auto-rows grid-auto-columns grid-auto-flow grid : none; grid : grid-template-rows / grid-template-columns; grid : grid-template-areas; grid : grid-template-rows / [grid-auto-flow] grid-auto-columns; grid : [grid-auto-flow] grid-auto-rows / grid-template-columns; grid : initial; grid : inherit;
grid-template
grid-template
// A shorthand property grid-template-rows grid-template-columns grid-template-areas grid-template : none; grid-template : grid-template-rows / grid-template-columns; grid-template : grid-template-areas; grid-template : initial; grid-template : inherit;
grid-template-columns
grid-template-columns
// Specifies the size of the columns, and how many columns in a grid layout grid-template-columns : none; grid-template-columns : auto; grid-template-columns : max-content; grid-template-columns : min-content; grid-template-columns : length; grid-template-columns : initial; grid-template-columns : inherit;
grid-template-rows
grid-template-rows
// Specifies the size of the rows in a grid layout grid-template-rows : none; grid-template-rows : auto; grid-template-rows : max-content; grid-template-rows : min-content; grid-template-rows : length; grid-template-rows : initial; grid-template-rows : inherit;
grid-gap
grid-gap
// A shorthand property for the grid-row-gap and grid-column-gap properties grid-gap : grid-row-gap grid-column-gap;
grid-column-gap
grid-column-gap
// Specifies the size of the gap between columns grid-column-gap : length;
grid-row-gap
grid-row-gap
// Specifies the size of the gap between rows grid-row-gap : length;
grid-auto-columns
grid-auto-columns
// Specifies a default column size grid-auto-columns : auto; grid-auto-columns : max-content; grid-auto-columns : min-content; grid-auto-columns : length;
grid-auto-rows
grid-auto-rows
// Specifies a default row size grid-auto-rows : auto; grid-auto-rows : max-content; grid-auto-rows : min-content; grid-auto-rows : length;
grid-auto-flow
grid-auto-flow
// Specifies how auto-placed items are inserted in the grid grid-auto-flow : row; grid-auto-flow : column; grid-auto-flow : dense; grid-auto-flow : row dense; grid-auto-flow : column dense;
grid-template-areas
grid-template-areas
// Specifies how to display columns and rows, using named grid items grid-template-areas : none; grid-template-areas : itemnames;
grid-area
grid-area
// Either specifies a name for the grid item, or this property is a shorthand property grid-row-start grid-column-start grid-row-end grid-column-end grid-area : grid-row-start / grid-column-start / grid-row-end / grid-column-end ; grid-area : itemname;
grid-column
grid-column
// A shorthand property grid-column-start grid-column-end grid-column : grid-column-start / grid-column-end;
grid-column-start
grid-column-start
// Specifies where to start the grid item grid-column-start : auto; grid-column-start : span n; grid-column-start : column-line;
grid-column-end
grid-column-end
// Specifies where to end the grid item grid-column-end : auto; grid-column-end : span n; grid-column-end : column-line;
grid-row
grid-row
// A shorthand property for the grid-row-start and the grid-row-end properties grid-row : grid-row-start / grid-row-end;
grid-row-start
grid-row-start
// Specifies where to start the grid item grid-row-start : auto; grid-row-start : row-line;
grid-row-end
grid-row-end
// Specifies where to end the grid item grid-row-end : auto; grid-row-end : row-line; grid-row-end : span n;
box-decoration-break
box-decoration-break
// Sets the behavior of the background and border of an element at page-break, or, for in-line elements, at line-break. box-decoration-break : slice; box-decoration-break : clone; box-decoration-break : initial; box-decoration-break : inherit; box-decoration-break : unset;
box-shadow
box-shadow
// Attaches one or more shadows to an element box-shadow : none; box-shadow : h-offset v-offset blur spread color ; box-shadow : inset; box-shadow : initial; box-shadow : inherit;
box-sizing
box-sizing
// Defines how the width and height of an element are calculated // should they include padding and borders, or not box-sizing : content-box; box-sizing : border-box; box-sizing : initial; box-sizing : inherit;
break-after
break-after
// Specifies whether or not a page-, column-, or region-break should occur after the specified element break-after : auto; break-after : all; break-after : always; break-after : avoid; break-after : avoid-column; break-after : avoid-page; break-after : avoid-region break-after : column; break-after : left; break-after : page; break-after : recto; break-after : region; break-after : right; break-after : verso; break-after : initial; break-after : inherit;
break-before
break-before
// Specifies whether or not a page-, column-, or region-break should occur before the specified element break-before : auto; break-before : all; break-before : always; break-before : avoid; break-before : avoid-column; break-before : avoid-page; break-before : avoid-region break-before : column; break-before : left; break-before : page; break-before : recto; break-before : region; break-before : right; break-before : verso; break-before : initial; break-before : inherit;
break-inside
break-inside
// Specifies whether or not a page-, column-, or region-break should occur inside the specified element break-inside : auto; break-inside : all; break-inside : always; break-inside : avoid; break-inside : avoid-column; break-inside : avoid-page; break-inside : avoid-region break-inside : column; break-inside : left; break-inside : page; break-inside : recto; break-inside : region; break-inside : right; break-inside : verso; break-inside : initial; break-inside : inherit;
column-count
column-count
// Specifies the number of columns an element should be divided into column-count : number; column-count : auto; column-count : initial; column-count : inherit;
column-fill
column-fill
// Specifies how to fill columns, balanced or not column-fill : balance; column-fill : auto; column-fill : initial; column-fill : inherit;
column-gap
column-gap
// Specifies the gap between the columns column-gap : length; column-gap : normal; column-gap : initial; column-gap : inherit;
column-rule
column-rule
// A shorthand property for all the column-rule-* properties column-rule-width column-rule-style (required) column-rule-color column-rule : column-rule-width column-rule-style column-rule-color; column-rule : initial; column-rule : inherit;
column-rule-color
column-rule-color
// Specifies the color of the rule between columns column-rule-color : color; column-rule-color : initial; column-rule-color : inherit;
column-rule-style
column-rule-style
// Specifies the style of the rule between columns column-rule-style : none; column-rule-style : hidden; column-rule-style : dotted column-rule-style : dashed; column-rule-style : solid; column-rule-style : double; column-rule-style : groove; column-rule-style : ridge; column-rule-style : inset; column-rule-style : outset; column-rule-style : initial; column-rule-style : inherit;
column-rule-width
column-rule-width
// Specifies the width of the rule between columns column-rule-width : medium; column-rule-width : thin; column-rule-width : thick; column-rule-width : length; column-rule-width : initial; column-rule-width : inherit;
column-span
column-span
// Specifies how many columns an element should span across column-span : none; column-span : all; column-span : initial; column-span : inherit;
column-width
column-width
// Specifies the column width column-width : auto; column-width : length; column-width : initial; column-width : inherit;
columns
columns
// A shorthand property column-width column-count columns : auto; columns : column-width column-count; columns : initial; columns : inherit;
font
font
// A shorthand property font-style font-variant font-weight font-size/line-height font-family font : font-style font-variant font-weight font-size/line-height font-family; font : caption; font : icon; font : menu; font : message-box; font : small-caption; font : status-bar; font : initial; font : inherit;
font-family
font-family
// Specifies the font family for text font-family : family-name; font-family : generic-family; font-family : initial; font-family : inherit;
font-size
font-size
// Specifies the font size of text font-size : medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit;
font-style
font-style
// Specifies the font style for text font-style : normal; font-style : italic; font-style : oblique; font-style : initial; font-style : inherit;
font-weight
font-weight
// Specifies the weight of a font
font-feature-settings
font-feature-settings
// Allows control over advanced typographic features in OpenType fonts font-feature-settings : normal; font-feature-settings : feature-value;
font-kerning
font-kerning
// Controls the usage of the kerning information (how letters are spaced) font-kerning : auto; font-kerning : normal; font-kerning : none;
font-size-adjust
font-size-adjust
// Preserves the readability of text when font fallback font-size-adjust : number; font-size-adjust : none; font-size-adjust : initial; font-size-adjust : inherit; no chrome support no safari support
font-stretch
font-stretch
// Selects a normal, condensed, or expanded face from a font family font-stretch : ultra-condensed; font-stretch : extra-condensed font-stretch : condensed; font-stretch : semi-condensed; font-stretch : normal; font-stretch : semi-expanded; font-stretch : expanded; font-stretch : extra-expanded; font-stretch : ultra-expanded; font-stretch : initial; font-stretch : inherit;
font-variant
font-variant
// Specifies whether or not a text should be displayed in a small-caps font font-variant : normal; font-variant : small-caps; font-variant : initial; font-variant : inherit;
font-variant-caps
font-variant-caps
// Controls the usage of alternate glyphs for capital letters font-variant-caps : normal; font-variant-caps : small-caps; font-variant-caps : all-small-caps; font-variant-caps : petite-caps; font-variant-caps : all-petite-caps; font-variant-caps : unicase; font-variant-caps : titling-caps; font-variant-caps : initial; font-variant-caps : inherit; font-variant-caps : unset;
list-style
list-style
// Sets all the properties for a list in one declaration list-style-type list-style-position list-style-image list-style : list-style-type list-style-position list-style-image; list-style : initial; list-style : inherit;
list-style-image
list-style-image
// Specifies an image as the list-item marker list-style-image : none; list-style-image : url; list-style-image : initial; list-style-image : inherit;
list-style-position
list-style-position
// Specifies the position of the list-item markers (bullet points) list-style-position : inside; list-style-position : outside; list-style-position : initial; list-style-position : inherit;
list-style-type
list-style-type
// Specifies the type of list-item marker list-style-type : disc; list-style-type : armenian; list-style-type : circle; list-style-type : cjk-ideographic; list-style-type : decimal; list-style-type : decimal;-leading-zero list-style-type : georgian; list-style-type : hebrew; list-style-type : hiragana; list-style-type : hiragana-iroha; list-style-type : katakana; list-style-type : katakana-iroha; list-style-type : lower-alpha; list-style-type : lower-greek; list-style-type : lower-latin list-style-type : lower-roman; list-style-type : none; list-style-type : square; list-style-type : upper-alpha; list-style-type : upper-greek; list-style-type : upper-latin; list-style-type : upper-roman; list-style-type : initial; list-style-type : inherit;
max-height
max-height
// Sets the maximum height of an element max-height : none; max-height : length; max-height : initial; max-height : inherit;
max-width
max-width
// Sets the maximum width of an element max-width : none; max-width : length; max-width : initial; max-width : inherit;
min-height
min-height
// Sets the minimum height of an element min-height : length; min-height : initial; min-height : inherit;
min-width
min-width
// Sets the minimum width of an element min-width : length; min-width : initial; min-width : inherit;
outline
outline
// A shorthand transition-property outline-width outline-style (required) outline-color outline : outline-width outline-style outline-color; outline : initial; outline : inherit;
outline-color
outline-color
// Sets the color of an outline outline-color : invert; outline-color : color; outline-color : initial; outline-color : inherit;
outline-offset
outline-offset
// Offsets an outline, and draws it beyond the border edge outline-offset : length; outline-offset : initial; outline-offset : inherit;
outline-style
outline-style
// Sets the style of an outline outline-style : none; outline-style : hidden; outline-style : dotted outline-style : dashed; outline-style : solid; outline-style : double; outline-style : groove; outline-style : ridge; outline-style : inset; outline-style : outset; outline-style : initial; outline-style : inherit;
outline-width
outline-width
// Sets the width of an outline outline-width : medium; outline-width : thin; outline-width : thick; outline-width : length; outline-width : initial; outline-width : inherit;
overflow
overflow
// Specifies what happens if content overflows an element's box overflow : visible; overflow : hidden; overflow : scroll; overflow : auto; overflow : initial; overflow : inherit;
overflow-x
overflow-x
// Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area overflow-x : visible; overflow-x : hidden; overflow-x : scroll; overflow-x : auto; overflow-x : initial; overflow-x : inherit;
overflow-y
overflow-y
// Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area overflow-y : visible; overflow-y : hidden; overflow-y : scroll; overflow-y : auto; overflow-y : initial; overflow-y : inherit;
page-break-after
page-break-after
// Sets the page-break behavior after an element page-break-after : auto; page-break-after : always; page-break-after : avoid; page-break-after : left; page-break-after : right; page-break-after : initial; page-break-after : inherit;
page-break-before
page-break-before
// Sets the page-break behavior before an element page-break-before : auto; page-break-before : always; page-break-before : avoid; page-break-before : left; page-break-before : right; page-break-before : initial; page-break-before : inherit;
page-break-inside
page-break-inside
// Sets the page-break behavior inside an element page-break-inside : auto; page-break-inside : avoid; page-break-inside : initial; page-break-inside : inherit;
perspective
perspective
// Gives a 3D-positioned element some perspective perspective : length; perspective : none;
perspective-origin
perspective-origin
// Defines at which position the user is looking at the 3D-positioned element perspective-origin : x-axis y-axis; perspective-origin : initial; perspective-origin : inherit;
text-align
text-align
// Specifies the horizontal alignment of text text-align : left; text-align : right; text-align : center; text-align : justify; text-align : initial; text-align : inherit;
text-align-last
text-align-last
// Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify" text-align-last : auto; text-align-last : left; text-align-last : right; text-align-last : center; text-align-last : justify; text-align-last : start; text-align-last : end; text-align-last : initial; text-align-last : inherit;
text-decoration
text-decoration
// Specifies the decoration added to text text-decoration-line (required) text-decoration-color text-decoration-style text-decoration : text-decoration-line text-decoration-color text-decoration-style; text-decoration : initial; text-decoration : inherit;
text-decoration-color
text-decoration-color
// Specifies the color of the text-decoration text-decoration-color : color; text-decoration-color : initial; text-decoration-color : inherit;
text-decoration-line
text-decoration-line
// Specifies the type of line in a text-decoration text-decoration-line : none; text-decoration-line : underline; text-decoration-line : overline; text-decoration-line : line-through; text-decoration-line : initial; text-decoration-line : inherit;
text-decoration-style
text-decoration-style
// Specifies the style of the line in a text decoration text-decoration-style : solid; text-decoration-style : double; text-decoration-style : dotted; text-decoration-style : dashed; text-decoration-style : wavy; text-decoration-style : initial; text-decoration-style : inherit;
text-indent
text-indent
// Specifies the indentation of the first line in a text-block text-indent : length; text-indent : initial; text-indent : inherit;
text-justify
text-justify
// Specifies the justification method used when text-align is "justify" text-justify : auto; text-justify : inter-word; text-justify : inter-character; text-justify : none; text-justify : initial; text-justify : inherit;
text-overflow
text-overflow
// Specifies what should happen when text overflows the containing element text-overflow : clip; text-overflow : ellipsis; text-overflow : string; text-overflow : initial; text-overflow : inherit; required for text-overflow: white-space = nowrap overflow = hidden
text-shadow
text-shadow
// Adds shadow to text text-shadow : h-shadow v-shadow blur-radius color; text-shadow : none; text-shadow : initial; text-shadow : inherit;
text-transform
text-transform
// Controls the capitalization of text text-transform : none; text-transform : capitalize; text-transform : uppercase; text-transform : lowercase; text-transform : initial; text-transform : inherit;
transform
transform
// Applies a 2D or 3D transformation to an element transform : none; transform : transform-functions; transform : initial; transform : inherit; transform : none; transform : matrix(n,n,n,n,n,n); transform : matrix3d; transform : (n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n); transform : translate(x,y); transform : translate3d(x,y,z); transform : translateX;(x) transform : translateY(y); transform : translateZ(z); transform : scale(x,y); transform : scale3d(x,y,z); transform : scaleX(x); transform : scaleY(y); transform : scaleZ(z); transform : rotate(angle); transform : rotate3d(x,y,z,angle) transform : rotateX(angle); transform : rotateY(angle); transform : rotateZ(angle); transform : skew(x-angle,y-angle); transform : skewX(angle); transform : skewY(angle); transform : perspective(n); transform : initial; transform : inherit;
transform-origin
transform-origin
// Allows you to change the position on transformed elements transform-origin : x-axis y-axis z-axis; transform-origin : initial; transform-origin : inherit;
transform-style
transform-style
// Specifies how nested elements are rendered in 3D space transform-style : flat; transform-style : preserve-3d; transform-style : initial; transform-style : inherit;
transition
transition
// A shorthand property for all the transition-* properties transition-property transition-duration transition-timing-function transition-delay transition : property duration timing-function delay; transition : initial; transition : inherit;
transition-delay
transition-delay
// Specifies when the transition effect will start transition-delay : time; transition-delay : initial; transition-delay : inherit;
transition-duration
transition-duration
// Specifies how many seconds or milliseconds a transition effect takes to complete transition-duration : time; transition-duration : initial; transition-duration : inherit;
transition-property
transition-property
// Specifies the name of the CSS property the transition effect is for transition-property : none; transition-property : all; transition-property : property; transition-property : initial; transition-property : inherit;
transition-timing-function
transition-timing-function
// Specifies the speed curve of the transition effect transition-timing-function : linear; transition-timing-function : ease; transition-timing-function : ease-in transition-timing-function : ease-out; transition-timing-function : ease-in-out; transition-timing-function : step-start; transition-timing-function : step-end; transition-timing-function : steps(int,start; transition-timing-function : end); transition-timing-function : cubic-bezier(n,n,n,n); transition-timing-function : initial; transition-timing-function : inherit;
word-break
word-break
// Specifies how words should break when reaching the end of a line word-break : normal; word-break : break-all; word-break : keep-all; word-break : break-word; word-break : initial; word-break : inherit;
word-spacing
word-spacing
// Increases or decreases the space between words in a text word-spacing : normal; word-spacing : length; word-spacing : initial; word-spacing : inherit;
word-wrap
word-wrap
// Allows long, unbreakable words to be broken and wrap to the next line word-wrap : normal; word-wrap : break-word; word-wrap : initial; word-wrap : inherit;
writing-mode
writing-mode
// Specifies whether lines of text are laid out horizontally or vertically writing-mode : horizontal-tb; writing-mode : vertical-rl; writing-mode : vertical-lr;
direction
direction
// Specifies the text direction/writing direction direction : ltr; direction : rtl; direction : initial; direction : inherit;
letter-spacing
letter-spacing
// Increases or decreases the space between characters in a text letter-spacing : normal; letter-spacing : length; letter-spacing : initial; letter-spacing : inherit;
line-height
line-height
// Sets the line height line-height : normal; line-height : number; line-height : length; line-height : initial; line-height : inherit;
visibility
visibility
// Specifies whether or not an element is visible visibility : visible; visibility : hidden; visibility : collapse; visibility : initial; visibility : inherit;
backface-visibility
backface-visibility
// Defines whether or not the back face of an element should be visible when facing the user backface-visibility : visible; backface-visibility : hidden; backface-visibility : initial; backface-visibility : inherit;
counter-increment
counter-increment
// Increases or decreases the value of one or more CSS counters counter-increment : none; counter-increment : id; counter-increment : initial; counter-increment : inherit;
counter-reset
counter-reset
// Creates or resets one or more CSS counters counter-reset : none; counter-reset : name number; counter-reset : initial; counter-reset : inherit;
object-fit
object-fit
// Specifies how the contents of a replaced element should be fitted to the box established by its used height and width object-fit : fill; object-fit : contain; object-fit : cover; object-fit : scale-down; object-fit : none; object-fit : initial; object-fit : inherit;
object-position
object-position
// Specifies the alignment of the replaced element inside its box object-position : position; object-position : initial; object-position : inherit;
all
all
// Resets all properties (except unicode-bidi and direction) all : initial; all : inherit; all : unset;
caption-side
caption-side
// Specifies the placement of a table caption caption-side : top; caption-side : bottom; caption-side : initial; caption-side : inherit;
caret-color
caret-color
// Specifies the color of the cursor (caret) in inputs, textareas, or any element that is editable caret-color : auto; caret-color : color; caret-color : initial; caret-color : inherit;
clear
clear
// Specifies on which sides of an element floating elements are not allowed to float clear : none; clear : left; clear : right; clear : both; clear : initial; clear : inherit;
clip
clip
// Clips an absolutely positioned element clip : auto; clip : shape; clip : initial; clip : inherit;
content
content
// Used with the : before and : after pseudo-elements, to insert generated content content : normal; content : none; content : counter content : attr; content : string; content : open-quote; content : close-quote; content : no-open-quote; content : no-close-quote; content : url; content : initial; content : inherit;
-webkit-line-clamp
-webkit-line-clamp
// allows limiting of the contents of a block container to the specified number of lines
.xx {
display : -webkit-box;
-webkit-line-clamp : 3;
-webkit-box-orient : vertical;
overflow : hidden;
}
-webkit-line-clamp : none;
-webkit-line-clamp : 3;
-webkit-line-clamp : 10;
-webkit-line-clamp : inherit;
-webkit-line-clamp : initial;
-webkit-line-clamp : unset;
empty-cells
empty-cells
// Specifies whether or not to display borders and background on empty cells in a table empty-cells : show; empty-cells : hide; empty-cells : initial; empty-cells : inherit;
hanging-punctuation
hanging-punctuation
// Specifies whether a punctuation character may be placed outside the line box hanging-punctuation : none; hanging-punctuation : first; hanging-punctuation : last; hanging-punctuation : allow-end; hanging-punctuation : force-end; hanging-punctuation : initial; hanging-punctuation : inherit; no chrome support
hyphens
hyphens
// Sets how to split words to improve the layout of paragraphs hyphens : none; hyphens : manual; hyphens : auto; hyphens : initial; hyphens : inherit;
isolation
isolation
// Defines whether an element must create a new stacking content isolation : auto; isolation : isolate; isolation : initial; isolation : inherit;
mix-blend-mode
mix-blend-mode
// Specifies how an element's content should blend with its direct parent background mix-blend-mode : normal; mix-blend-mode : multiply; mix-blend-mode : screen; mix-blend-mode : overlay; mix-blend-mode : darken mix-blend-mode : lighten; mix-blend-mode : color-dodge; mix-blend-mode : color-burn; mix-blend-mode : difference; mix-blend-mode : exclusion; mix-blend-mode : hue; mix-blend-mode : saturation; mix-blend-mode : color; mix-blend-mode : luminosity;
quotes
quotes
// Sets the type of quotation marks for embedded quotations quotes : none; quotes : string; quotes : initial; quotes : inherit;
resize
resize
// Defines if (and how) an element is resizable by the user resize : none; resize : both; resize : horizontal; resize : vertical; resize : initial; resize : inherit;
scroll-behavior
scroll-behavior
// Specifies whether to smoothly animate the scroll position in a scrollable box, instead of a straight jump scroll-behavior : auto; scroll-behavior : smooth; scroll-behavior : initial; scroll-behavior : inherit;
tab-size
tab-size
// Specifies the width of a tab character tab-size : number; tab-size : length; tab-size : initial; tab-size : inherit;
table-layout
table-layout
// Defines the algorithm used to lay out table cells, rows, and columns table-layout : auto; table-layout : fixed; table-layout : initial; table-layout : inherit;
unicode-bidi
unicode-bidi
// Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document unicode-bidi : normal; unicode-bidi : embed; unicode-bidi : bidi-override; unicode-bidi : initial; unicode-bidi : inherit;
user-select
user-select
// Specifies whether the text of an element can be selected user-select : auto; user-select : none; user-select : text; user-select : all;
vertical-align
vertical-align
// Sets the vertical alignment of an element vertical-align : baseline; vertical-align : length vertical-align : sub; vertical-align : super; vertical-align : top; vertical-align : text-top; vertical-align : middle; vertical-align : bottom; vertical-align : text-bottom; vertical-align : initial; vertical-align : inherit;
@import
@import
// Allows you to import a style sheet into another style sheet @import url|string list-of-mediaqueries; @import "navigation.css"; // Import ONLY if the media is maximum 768 pixels: @import "mobstyle.css" screen and (max-width = 768px); // Import ONLY if the media is print @import "printstyle.css" print;
@keyframes
@keyframes
// Specifies the animation code
// !important; wont work inside
@keyframes animationname {keyframes-selector {css-styles;}}
@keyframes mymove {
0% {top: 0px;}
25% {top: 200px;}
50% {top: 100px;}
75% {top: 200px;}
100% {top: 0px;}
}
@keyframes mymove {
0% {top: 0px; background: red; width: 100px;}
100% {top: 200px; background: yellow; width: 300px;}
}
@media
@media
// Sets the style rules for different media types/devices/sizes
@media not|only mediatype and (mediafeature and|or|not mediafeature) {
CSS-Code;
}
not
// The not keyword reverts the meaning of an entire media query.
only
// The only keyword prevents older browsers that do not support media queries with
// media features from applying the specified styles. It has no effect on modern browsers.
and
//The and keyword combines a media feature with a media type or other media features.
They are all optional. However, if using not or only, must also specify a media type.
Media Types
// all
// print
// screen
// speech
Media Features
// any-hover
// any-pointer
// aspect-ratio
// color
// color-gamut
// color-index
// grid
// height
// hover
// inverted-colors
// light-level
// max-aspect-ratio
// max-color
// max-color-index
// max-height
// max-monochrome
// max-resolution
// max-width
// min-aspect-ratio
// min-color
// min-color-index
// min-height
// min-monochrome
// min-resolution
// min-width
// monochrome
// orientation
// overflow-block
// overflow-inline
// pointer
// resolution
// scan
// scripting
// update
// width
@font-face
@font-face
// A rule that allows websites to download and use fonts other than the "web-safe" fonts
@font-face {
font-properties
}
@font-face {
font-family : name;
src : URL;
font-stretch : normal;
font-stretch : condensed;
font-stretch : ultra-condensed;
font-stretch : extra-condensed;
font-stretch : semi-condensed;
font-stretch : expanded;
font-stretch : semi-expanded;
font-stretch : extra-expanded;
font-stretch : ultra-expanded;
font-style : normal;
font-style : italic;
font-style : oblique;
font-weight : normal;
font-weight : bold
font-weight : 100;
font-weight : 200;
font-weight : 300;
font-weight : 400;
font-weight : 500;
font-weight : 600;
font-weight : 700;
font-weight : 800;
font-weight : 900;
unicode-range : unicode-range;
}
@charset
@charset
// Specifies the character encoding used in the style sheet // The @charset rule specifies the character encoding used in the style sheet. // The @charset rule must be the first element in the style sheet and not be preceded by any character. @charset "charset";