The Most Secure Cross Browser Testing Platform since 2012

Blog

The Cross-Browser Compatibility Guide – CSS Rules Across Browsers

css rules across browser
BLOG / Cross Browser Testing / CSS / Tips / Web Development

The Cross-Browser Compatibility Guide – CSS Rules Across Browsers

Welcome to the third part of the cross-browser compatibility guide.

CSS rules across browsers

CSS 2 and 3 know many style rules which you can use to separate the styling and markup of your website. Unfortunately, not every rule can be recognized in every browser. So again we’ll need some big tables to figure out what to use and when.

At-Rules

RuleChrome EdgeFirefoxSafari Opera Description
@charset2.012.01.54.09.0Specifies the character encoding used in the style sheet
@font-face9.05.03.65.111.1Web designers do not have to use one of the “web-safe” fonts anymore
@import1.05.51.01.03.5Allows you to import a style sheet into another style sheet
@keyframes43.0
4.0
(-webkit-)
10.016.0
5.0
(-moz-)
9.0
4.0
(-webkit-)
30.0
15.0
(-webkit-)
12.0 (-o-)
Specifies the animation code
@media2193.54.09Used in media queries to apply different styles for different media types/devices
@page8191515Describes the aspect of layout changes that will be applied when printing the document.
@namespace91118Declares a namespace prefix and associates it with a given namespace name

Values and Units

In many cases, CSS rules need values and/or units. And of course, there are cross-browser issues.

Value/Unit Chrome EdgeFirefox Safari OperaDescription
attr()2.08.01.03.19.0Returns the value of an attribute of the selected elements.
calc()26.0
19.0
(-webkit-)
9.016.0
4.0
(-moz-)
7.0
6.0
(-webkit-)
15.0Performs a calculation to be used as the property value.
conic-gradient()69.079.083.012.156.0Sets a conic gradient as the background image.
counter()YesYesYesYesYesReturns the current value of the named counter, as a string.
cubic-bezier()4.010.04.03.110.5Defines a Cubic Bezier curve.
hsl()1.09.01.03.19.5Define colors using the Hue-saturation-lightness model (HSL).
hsla()1.09.03.03.110.0Define colors using the Hue-saturation-lightness-alpha model (HSLA).
linear-gradient()26.0
10.0
(-webkit-)
10.016.0
3.6
(-moz-)
6.1
5.1
(-webkit-)
12.1
11.1
(-o-)
Sets a linear gradient as the background image.
max()79.079.075.011.166.0Uses the largest value, from a comma-separated list of values, as the property value.
min()79.079.075.011.166.0Uses the smallest value, from a comma-separated list of values, as the property value.
radial-gradient()26.0
10.0
(-webkit-)
10.016.0
3.6
(-moz-)
6.1
5.1
(-webkit-)
12.1
11.6
(-o-)
Sets a radial gradient as the background image.
repeating-conic-gradient()69.079.083.012.156.0Used to repeat conic gradients.
repeating-linear-gradient()26.0
10.0
(-webkit-)
10.016.0
3.6 
(-moz-)
6.1
5.1 
(-webkit-)
12.1
11.1 
(-o-)
Used to repeat linear gradients.
repeating-radial-gradient()26.0
10.0 
(-webkit-)
10.016.0
3.6 
(-moz-)
6.1
5.1 
(-webkit-)
12.1
11.1 
(-o-)
Used to repeat radial gradients.
rgb()1.04.01.01.03.5Define colors using the Red-green-blue (RGB) model.
rgba()1.09.03.03.110.0Define colors using the Red-green-blue-alpha (RGBA) model.
var()49.015.031.09.136.0Used to insert the value of a CSS variable.
cm1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
mm1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
in1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
px*1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
pt1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
pc1.03.01.01.03.5Fixed and a length expressed in any of these will appear as exactly that size.
em1.03.01.01.03.5Specify a length relative to another length property.
ex1.03.01.01.03.5Specify a length relative to another length property.
ch27.09.01.07.020.0Specify a length relative to another length property.
rem4.09.03.64.111.6Specify a length relative to another length property.
vw20.09.019.06.020.0Specify a length relative to another length property.
vh20.09.019.06.020.0Specify a length relative to another length property.
vmin20.012.019.06.020.0Specify a length relative to another length property.
vmax26.016.019.07.020.0Specify a length relative to another length property.
%1.03.01.01.03.5Specify a length relative to another length property.
inherit1.08.0 1.01.04.0Specifies that a property should inherit its value from its parent element.
initial1.012.019.01.215.0Used to set a CSS property to its default value.
url()1.04.01.01.03.5To specify more than one image, separate the URLs with a comma
currentcolor YesYesYesYesYesRefers to the value of the color property of an element.

CSS Properties

Properties are the major part of style sheets. Again, not every property can be used across different browsers.

Property Chrome EdgeFirefox Safari Opera Description
accent-color93.093.092.015.479.0Specifies the accent color for user-interface controls
align-content57.016.052.010.144.0Specifies how flex lines are distributed along the cross axis in a flexbox container.
align-items57.016.052.010.144.0Specifies the default alignment for items inside a flexbox or grid container.
align-self57.016.052.010.144.0Specifies the alignment in the block direction for the selected item inside a flexbox or grid container.
all 37.079.027.09.124.0Resets all properties, apart from unicode-bidi and direction, to their initial or inherited value.
animation 43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
shorthand property
animation-delay43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Specifies a delay for the start of an animation.
animation-direction43.0
4.0 
(-webkit-)
10.016.0
5.0
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Defines whether an animation should be played forwards, backwards or in alternate cycles.
animation-duration43.0
3.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Defines how long an animation should take to complete one cycle.
animation-fill-mode43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.1
12.0 (-o-)
Specifies a style for the element when the animation is not playing
animation-iteration-count43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Specifies the number of times an animation should be played.
animation-name43.0
4.0 
(-webkit-)
10.0
16.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Specifies a name for the @keyframes animation.
animation-play-state43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Specifies whether the animation is running or paused.
animation-timing-function43.0
4.0 
(-webkit-)
10.016.0
5.0 
(-moz-)
9.0
4.0 
(-webkit-)
30.0
15.0 
(-webkit-)
12.0 (-o-)
Specifies the speed curve of an animation.
aspect-ratio8888891574Allows you to define the ratio between width and height of an element.
backdrop-filter76.017.070.0*9.0 
(-webkit-)
63.0Used to apply a graphical effect to the area behind an element.
backface-visibility36.0
12.0 
(-webkit-)
10.016.0
10.0 
(-moz-)
4.0 
(-webkit-)
23.0
15.0 
(-webkit-)
Defines whether or not the back face of an element should be visible when facing the user.
background1.04.01.01.03.5shorthand property
background-attachment1.04.01.01.03.5Sets whether a background image scrolls with the rest of the page, or is fixed.
background-blend-mode35.079.030.07.122.0Defines the blending mode of each background layer (color and/or image).
background-clip4.09.04.03.010.5Defines how far the background (color or image) should extend within an element.
background-color1.04.01.01.03.5Sets the background color of an element.
background-image1.04.01.01.03.5Sets one or more background images for an element.
background-origin4.09.04.03.010.5Specifies the origin position (the background positioning area) of a background image.
background-position1.04.01.01.03.5Sets the starting position of a background image.
background-position-x1.012.049.01.015.0Sets the position of a background image on the x-axis.
background-position-y1.012.049.01.015.0Sets the position of a background image on the y-axis.
background-repeat1.04.01.01.03.5Sets if/how a background image will be repeated.
background-size4.0
1.0 
(-webkit-)
9.04.0
3.6 
(-moz-)
4.1
3.0 
(-webkit-)
10.5
10.0 (-o-)
Specifies the size of the background images.
block-size57.079.041.012.144.0Specifies the size of an element in the block direction.
border1.04.01.01.03.5shorthand property
border-block87.087.066.014.173.0shorthand property
border-block-color87.087.066.014.173.0Sets the color of an element’s borders in the block direction.
border-block-end-color69.079.041.012.156.0 Sets the color of an element’s border at the end in the block direction.
border-block-end-style69.079.041.012.156.0Sets the style of an element’s border at the end in the block direction.
border-block-end-width69.079.041.012.156.0Sets the width of an element’s border at the end in the block direction.
border-block-start-color69.079.041.012.156.0Sets the width of an element’s border at the start in the block direction.
border-block-start-style69.079.041.012.156.0Sets the style of an element’s border at the start in the block direction.
border-block-start-width69.079.041.012.156.0Sets the width of an element’s border at the start in the block direction.
border-block-style87.087.066.014.173.0Sets the style of an element’s borders in the block direction.
border-block-width87.087.066.014.173.0Sets the width of an element’s borders in the block direction.
border-bottom1.04.01.01.03.5shorthand property
border-bottom-color1.04.01.01.03.5Sets the color of an element’s bottom border.
border-bottom-left-radius5.0
4.0 
(-webkit-)
9.04.0
3.0 
(-moz-)
5.0
3.1 
(-webkit-)
10.5Defines the radius of the bottom-left corner.
border-bottom-right-radius5.0
4.0 
(-webkit-)
9.04.0
3.0 
(-moz-)
5.0
3.1 
(-webkit-)
10.5Defines the radius of the bottom-right corner.
border-bottom-style1.05.51.01.09.2Sets the style of an element’s bottom border.
border-bottom-width1.04.01.01.03.5Sets the width of an element’s bottom border.
border-collapse1.05.01.01.24.0Sets whether table borders should collapse into a single border or be separated as in standard HTML.
border-color1.04.01.01.03.5Sets the color of an element’s four borders. This property can have from one to four values.
border-end-end-radius89.089.066.015.075.0Defines the radius of the corner at the end in the block and inline directions.
border-end-start-radius89.089.066.015.075.0Defines the radius of the corner at the end in the block direction and the start in the inline direction.
border-image16.0
4.0 
(-webkit-)
11.015.0
3.5 
(-moz-)
6.0
3.1 
(-webkit-)
15.0
11.0 (-o-)
Allows you to specify an image to be used as the border around an element.
border-image-outset15.011.015.06.015.0Specifies the amount by which the border image area extends beyond the border box.
border-image-repeat15.011.015.06.015.0Specifies whether the border image should be repeated, rounded, spaced or stretched.
border-image-slice15.011.015.06.015.0specifies how to slice the image specified by border-image-source.
border-image-source15.011.015.06.015.0Specifies the path to the image to be used as a border (instead of the normal border around an element).
border-image-width15.011.015.06.015.0Specifies the width of the border image.
border-inline87.087.066.014.173.0shorthand property 
border-inline-color87.087.066.014.173.0Sets the color of an element’s borders in the inline direction.
border-inline-end-color69.079.041.012.156.0Sets the color of an element’s border at the end in the inline direction.
border-inline-end-style69.079.041.012.156.0Sets the style of an element’s border at the end in the inline direction.
border-inline-end-width69.079.041.012.156.0Sets the width of an element’s border at the end in the inline direction.
border-inline-start-color69.079.041.012.156.0Sets the color of an element’s border at the start in the inline direction.
border-inline-start-style69.079.041.012.156.0Sets the style of an element’s border at the start in the inline direction.
border-inline-start-width69.079.041.012.156.0Sets the width of an element’s border at the start in the inline direction.
border-inline-style87.087.066.014.173.0Sets the style of an element’s borders in the inline direction.
border-inline-width87.087.066.014.173.0Sets the width of an element’s borders in the inline direction.
border-left1.04.01.03.51.0shorthand property
border-left-color1.04.01.01.03.5Sets the color of an element’s left border.
border-left-style1.05.51.01.09.2Sets the style of an element’s left border.
border-left-width1.04.01.01.03.5Sets the width of an element’s left border.
border-radius5.0
4.0 
(-webkit-)
9.04.0
3.0 
(-moz-)
5.0
3.1 
(-webkit-)
10.5Defines the radius of the element’s corners.
border-right1.04.01.01.03.5shorthand property
border-right-color1.04.01.01.03.5Sets the color of an element’s right border.
border-right-style1.04.01.01.03.5Sets the style of an element’s right border.
border-right-width1.04.01.01.03.5Sets the width of an element’s right border.
border-spacing1.08.01.01.04.0Sets the distance between the borders of adjacent cells.
border-start-end-radius89.089.066.015.075.0Defines the radius of the corner at the start in the block direction and end in the inline direction.
border-start-start-radius89.089.066.015.075.0Defines the radius of the corner at the end in the block and inline directions.
border-style1.04.01.01.03.5Sets the style of an element’s four borders. This property can have from one to four values.
border-top1.04.01.01.03.5Shorthand property sets all the top border properties in one declaration.
border-top-color1.04.01.01.03.5Sets the color of an element’s top border.
border-top-left-radius5.0
4.0 
(-webkit-)
9.04.0
3.0 
(-moz-)
5.0
3.1 
(-webkit-)
10.5Defines the radius of the top-left corner.
border-top-right-radius5.0
4.0 
(-webkit-)
9.04.0
3.0 
(-moz-)
5.0
3.1 
(-webkit-)
10.5Defines the radius of the top-right corner.
border-top-style1.05.51.01.09.2Sets the style of an element’s top border.
border-top-width1.04.01.01.03.5Sets the width of an element’s top border.
border-width1.04.01.01.03.5Sets the width of an element’s four borders. This property can have from one to four values.
bottom1.05.01.01.06.0Affects the vertical position of a positioned element.
box-decoration-break22.0 
(-webkit-)
79.032.06.1 
(-webkit-)
11.5 
(-webkit-)
Specifies how the background, padding, border, border-image, box-shadow, margin, and clip-path of an element is applied when the box for the element is fragmented.
abox-reflect4.0
(-webkit-)
79.0
(-webkit-)
Not supported4.0
(-webkit-)
15.0
(-webkit-)
Used to create a reflection of an element.
box-shadow10.0
4.0 
(-webkit-)
9.04.0
3.5 
(-moz-)
5.1
3.1 
(-webkit-)
10.5Attaches one or more shadows to an element.
box-sizing10.0
4.0 
(-webkit-)
8.029.0
2.0 
(-moz-)
5.1
3.2 
(-webkit-)
9.5Defines how the width and height of an element are calculated: should they include padding and borders, or not.
break-after50.010.065.010.037.0Specifies whether or not a page break, column break, or region break should occur after the specified element.
break-before50.010.065.010.037.0Specifies whether or not a page break, column break, or region break should occur before the specified element.
break-inside50.010.065.010.037.0Specifies whether or not a page break, column break, or region break should occur inside the specified element.
caption-side1.08.01.01.04.0Specifies the placement of a table caption.
caret-color57.079.053.011.144.0Specifies the color of the cursor (caret) in inputs, textareas, or any element that is editable.
clear1.05.01.01.06.0Controls the flow next to floated elements.
clip1.08.01.01.07.0Lets you specify a rectangle to clip an absolutely positioned element.
clip-path55.0
23.0 
(-webkit-)
79.0**54.09.1
6.1 
(-webkit-)
42.0
15.0 
(-webkit-)
Lets you clip an element to a basic shape or to an SVG source.
color1.03.01.01.03.5Specifies the color of text.
column-count50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies the number of columns an element should be divided into.
column-fill50.010.052.0
13.0
(-moz-)
10.0
7.0
(-webkit-)
37.0Specifies how to fill columns, balanced or not.
column-gap50(in Multiple)
66(in Grid)
84(in Flexbox)
10(in Multiple)
16(in Grid)
84(in Flexbox)
52(in Multiple)
61(in Grid)
63(in Flexbox)
10(in Multiple)
12(in Grid)
14.1(in Flexbox)
37(in Multiple)
53(in Grid)
70(in Flexbox)
Specifies the gap between the columns in grid, flexbox or multi-column layout.
column-rule50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Sets the width, style, and color of the rule between columns.
column-rule-color50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies the color of the rule between columns.
column-rule-style50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies the style of the rule between columns.
Show demo ❯

column-rule-width50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies the width of the rule between columns.
column-span50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies how many columns an element should span across.
column-width50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
Specifies the column width.
columns50.0
4.0 
(-webkit-)
10.052.0
2.0 
(-moz-)
9.0
3.1 
(-webkit-)
37.0
15.0 
(-webkit-)
11.1
 shorthand property
content1.08.01.01.04.0Used with the ::before and ::after pseudo-elements, to insert generated content.
counter-increment4.08.02.03.19.6Increases or decreases the value of one or more CSS counters.
counter-reset4.08.02.03.19.6Creates or resets one or more CSS counters.
cursor5.05.54.05.09.6Specifies the mouse cursor to be displayed when pointing over an element.
direction2.05.51.01.39.2Specifies the text direction/writing direction within a block-level element.
display4.08.03.03.17.0Specifies the display behavior (the type of rendering box) of an element.
empty-cells1.08.01.01.24.0Sets whether or not to display borders on empty cells in a table.
filter53.0
18.0 
(-webkit-)
13.035.09.1
6.0 
(-webkit-)
40.0
15.0 
(-webkit-)
 Defines visual effects (like blur and saturation) to an element (often <img>).
Show demo ❯

flex29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0shorthand property
flex-basis29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0Specifies the initial length of a flexible item.
flex-direction29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0Specifies the direction of the flexible items.
flex-flow29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0shorthand property
flex-grow29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0 Specifies how much the item will grow relative to the rest of the flexible items inside the same container.
flex-shrink29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0Specifies how the item will shrink relative to the rest of the flexible items inside the same container.
flex-wrap29.0
21.0 
(-webkit-)
11.0
10.0 
(-ms-)
28.0
18.0
( -moz-)
9.0
6.1 
(-webkit-)
17.0Specifies whether the flexible items should wrap or not.
float1.04.01.01.07.0Specifies whether an element should float to the left, right, or not at all.
font1.04.01.01.03.5shorthand property
font-family1.04.01.01.03.5Specifies the font for an element.
font-feature-settings48.0
16.0 
(-webkit-)
10.034.0
15.0
(-moz-)
9.135.0
15.0
(-webkit-)
Allows control over advanced typographic features in OpenType fonts.
font-kerning33.0
29.0 
(-webkit-)
79.034.09.1
7.0
(-webkit-)
20.1
16.0
(-webkit-)
Controls the usage of the kerning information stored in a font.
font-size1.05.51.01.07.0Sets the size of a font.
font-size-adjustNot supportedNot supported3.0Not supportedNot supportedGives you better control of the font size when the first selected font is not available.
font-stretch48.09.09.011.035.0Allows you to make text narrower (condensed) or wider (expanded).
font-style1.04.01.01.07.0Specifies the font style for a text.

font-variant1.04.01.01.03.5Specifies whether or not a text should be displayed in a small-caps font.
font-variant-caps52.079.034.0Not supported39.0Controls the usage of alternate glyphs for capital letters.
font-weight2.04.01.01.33.5Sets how thick or thin characters in text should be displayed.
gap66 (in Grid)
84 (in Flexbox)
66 (in Multiple Columns)
16(in Grid)
84(in Flexbox)
16(in Multiple Columns)
61(in Grid)
63(in Flexbox)
61(in Multiple Columns)
12(in Grid)
14.1(in Flexbox)
Not supported(in Multiple Columns)
53(in Grid)
70(in Flexbox)
53(in Multiple Columns)
Defines the size of the gap between the rows and between the columns in flexbox, grid or multi-column layout.
grid5716521044shorthand property
grid-area5716521044Specifies a grid item’s size and location in a grid layout
grid-auto-columns5716521044Sets a size for the columns in a grid container.
grid-auto-flow5716521044Controls how auto-placed items get inserted in the grid.
grid-auto-rows5716521044Sets a size for the rows in a grid container.
grid-column5716521044Specifies a grid item’s size and location in a grid layout
grid-column-end5716521044Defines how many columns an item will span, or on which column-line the item will end
grid-column-gap5716521044Defines the size of the gap between the columns in a grid layout.
grid-column-start5716521044Defines on which column-line the item will start.
grid-gap5716521044Defines the size of the gap between the rows and columns in a grid layout
grid-row5716521044Specifies a grid item’s size and location in a grid layout
grid-row-end5716521044Defines how many rows an item will span, or on which row-line the item will end 
grid-row-gap5716521044Defines the size of the gap between the rows in a grid layout.
grid-row-start5716521044Defines on which row-line the item will start.
grid-template5716521044shorthand property
grid-template-areas5716521044Specifies areas within the grid layout
grid-template-columns5716521044Specifies the number (and the widths) of columns in a grid layout.
grid-template-rows5716521044Specifies the number (and the heights) of the rows in a grid layout.
hanging-punctuationNot supportedNot supportedNot supported10+Not supportedSpecifies whether a punctuation mark may be placed outside the line box at the start or at the end of a full line of text.
height1.04.01.01.07.0Sets the height of an element.
hyphens55.079.0
10.0
(-ms-)
43.05.1
(-webkit-)
44.0Defines whether hyphenation is allowed to create more soft wrap opportunities within a line of text.
image-rendering41.079.065.010.028.0Specifies the type of algorithm to be used for image scaling.
inline-size57.079.041.012.144.0Specifies the size of an element in the inline direction.
inset87.087.066.014.173.0Sets the distance between an element and the parent element.
inset-block87.087.063.014.173.0sets the distance between an element and the parent element in the block direction.
inset-block-end87.087.063.014.173.0Sets the distance between the end of an element and the parent element in the block direction.
inset-block-start87.087.063.014.173.0Sets the distance between the start of an element and the parent element in the block direction.
inset-inline87.087.063.014.173.0Sets the distance between an element and the parent element in the inline direction.
inset-inline-end87.087.063.014.173.0Sets the distance between the end of an element and the parent element in the inline direction.
inset-inline-start87.087.063.014.173.0Sets the distance between the start of an element and the parent element in the inline direction.
isolation41.079.036.0Yes30.0Defines whether an element must create a new stacking content.
justify-content29.0
21.0 
(-webkit-)
11.028.0
18.0 
(-moz-)
9.0
6.1 
(-webkit-)
17.0Aligns the flexible container’s items when the items do not use all available space on the main-axis (horizontally).
justify-items57.016.045.010.144.0Set on the grid container to give child elements (grid items) alignment in the inline direction.
justify-self57.016.045.010.144.0Aligns a grid item within its grid cell in the inline direction.
left1.05.51.01.05.0Affects the horizontal position of a positioned element.
letter-spacing1.04.01.01.03.5Increases or decreases the space between characters in a text.
line-height1.04.01.01.07.0 Specifies the height of a line.
list-style1.04.01.01.07.0shorthand for the following properties
list-style-image1.04.01.01.07.0Replaces the list-item marker with an image.
list-style-position1.04.01.01.03.5Specifies the position of the list-item markers (bullet points).
list-style-type1.04.01.01.03.5Specifies the type of list-item marker in a list.
margin1.06.01.01.03.5Sets the margins for an element
margin-block87.087.066.014.173.0 Specifies the margin at the start and end in the block direction
margin-block-end87.087.041.012.173.0Specifies the margin at the end in the block direction.
margin-block-start87.087.041.012.173.0Specifies the margin at the start in the block direction.
margin-bottom1.06.041.012.13.5Sets the bottom margin of an element.
margin-inline87.087.066.014.173.0Specifies the margin at the start and end in the inline direction
margin-inline-end87.087.041.012.173.0Specifies the margin at the end in the inline direction.
margin-inline-start69.079.068.014.156.0Specifies the margin at the start in the inline direction.
margin-left1.06.01.01.03.5Sets the left margin of an element.
margin-right1.06.01.01.03.5Sets the right margin of an element.
margin-top1.06.01.01.03.5Sets the top margin of an element.
mask-image4.0 
(-webkit-)
79.0 
(-webkit-)
53.04.0 
(-webkit-)
15.0
(-webkit-)
Specifies an image to be used as a mask layer for an element.
mask-modeNot supportedNot supported53.0Not supportedNot supportedSpecifies whether the mask layer image should be treated as a luminance mask or as an alpha mask.
mask-origin4.0 
(-webkit-)
79.0
(-webkit-)
53.04.0 
(-webkit-)
15.0 
(-webkit-)
Specifies the origin position (the mask position area) of a mask layer image.
mask-position4.0 
(-webkit-)
79.0
(-webkit-)
53.04.0 
(-webkit-)
15.0 
(-webkit-)
Sets the starting position of a mask image (relative to the mask position area).
mask-repeat4.0 
(-webkit-)
79.0
(-webkit-)
53.04.0 
(-webkit-)
15.0 
(-webkit-)
Sets if/how a mask image will be repeated.
mask-size4.0 
(-webkit-)
79.0
(-webkit-)
53.04.0 
(-webkit-)
15.0 
(-webkit-)
Specifies the size of the mask layer image.
max-height1.07.01.02.0.27.0Defines the maximum height of an element.
max-width1.07.01.02.0.27.0Defines the maximum width of an element.
max-block-size57.079.041.012.144.0Specifies the maximum size of an element in the block direction.
max-inline-size57.079.041.012.144.0Specifies the maximum size of an element in the inline direction.
min-block-size57.079.041.012.144.0Specifies the minimum size of an element in the block direction.
min-inline-size57.079.041.012.144.0Specifies the minimum size of an element in the inline direction.
min-height1.07.03.02.0.24.0Defines the minimum height of an element.
min-width1.07.01.02.0.24.0Defines the minimum width of an element.
mix-blend-mode41.079.032.08.035.0Specifies how an element’s content should blend with its direct parent background.
object-fit31.016.036.07.119.0Used to specify how an <img> or <video> should be resized to fit its container.
object-position31.016.036.010.019.0Used together with object-fit to specify how an <img> or <video> should be positioned with x/y coordinates inside its “own content box”.
offset55.079.072.016.042.0Used when animating an element along a path
offset-anchorNot supportedNot supported72.0Not supportedNot supportedSspecifies the point on an element to be fixed along a path defined by the offset-path property.
offset-distance55.079.072.0Not supported42.0Sets the distance of an element from the start of the path defined by the offset-path property.
offset-path55.079.072.015.445.0Creates a path for an animated element to follow.
offset-rotate56.079.072.0Not supported43.0Sets the rotation of an animated element moving aling a path.
opacity4.09.02.03.19.0Sets the opacity level for an element.
order29.0
21.0 
(-webkit-)
11.028.0
18.0 
(-moz-)
9.0
6.1 
(-webkit-)
17.0Specifies the order of a flexible item relative to the rest of the flexible items inside the same container.
orphans25.08.0Not supported3.110.0Specifies the minimum number of lines that must be left at the bottom of a page or column.
outline1.08.01.51.27.0shorthand property
outline-color1.08.01.51.27.0Specifies the color of an outline.
outline-offset4.015.03.53.110.5Adds space between the outline and the edge or border of an element.
outline-style1.08.01.51.27.0Specifies the style of an outline.
outline-width1.08.01.51.27.0Specifies the width of an outline.
overflow1.04.01.01.07.0Specifies what should happen if content overflows an element’s box.
overflow-anchor56.079.066.0Not supported43.0Makes it possible to turn off scroll anchoring.
overflow-wrap23.018.049.06.112.1Specifies whether or not the browser can break lines with long words, if they overflow the container.
overflow-x4.09.0
8.0 (-ms-)
3.53.09.5Specifies whether to clip the content, add a scroll bar, or display overflow content of a block-level element, when it overflows at the left and right edges.
overflow-y4.09.0
8.0 (-ms-)
1.53.09.5Specifies whether to clip the content, add a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges.
overscroll-behavior63.018.0 ***59.016.050.0Used to turn off scroll chaining or overscroll affordance on an element when you try to scroll past the scroll boundary.
overscroll-behavior-block63.018.059.016.050.0Used to turn off scroll chaining or overscroll affordance on an element when you try to scroll past the scroll boundary in the block direction.
overscroll-behavior-inline63.018.059.016.050.0Used to turn off scroll chaining or overscroll affordance on an element when you try to scroll past the scroll boundary in the inline direction.
overscroll-behavior-x63.018.0 ***59.016.050.0Used to turn off scroll chaining or overscroll affordance on an element when you try to scroll past the scroll boundary in the x-direction.
overscroll-behavior-y63.018.0 ***59.016.050.0Used to turn off scroll chaining or overscroll affordance on an element when you try to scroll past the scroll boundary in y-direction.
padding1.04.01.01.03.5shorthand property 
padding-block87.087.066.014.173.0 The space from its border to its content in the block direction, and it is a shorthand property for the following properties:
padding-block-end87.087.041.012.173.0The space from its border to its content, at the end in the block direction.
padding-block-start87.087.041.012.173.0The space from its border to its content, at the start in the block direction.
padding-bottom1.04.01.01.03.5Sets the bottom padding (space) of an element.
padding-inline87.04.066.014.13.5The space from its border to its content in the inline direction, and it is a shorthand property for the following properties:
padding-inline-end87.04.041.012.13.5The space from its border to its content, at the end in the inline direction.
padding-inline-start87.04.041.012.13.5 The space from its border to its content, at the start in the inline direction.
padding-left1.04.01.01.03.5Sets the left padding (space) of an element.
padding-right1.04.01.01.03.5Sets the right padding (space) of an element.
padding-top1.04.01.01.03.5Sets the top padding (space) of an element.
page-break-after1.04.01.01.27.0Adds a page-break after a specified element.
page-break-before1.04.01.01.27.0Adds a page-break before a specified element..
page-break-inside1.08.019.01.37.0Sets whether a page-break should be avoided inside a specified element.
paint-order35.017.060.08.022.0Specifies the order of how an SVG element or text is painted.
perspective 36.0
12.0
(-webkit-)
10.016.0
10.0 
(-moz-)
9.0
4.0.3 
(-webkit-)
23.0
15.0
(-webkit-)
Used to give a 3D-positioned element some perspective.
perspective-origin36.0
12.0
(-webkit-)
10.016.0
10.0 
(-moz-)
9.0
4.0.3 
(-webkit-)
23.0
15.0
(-webkit-)
Defines at from which position the user is looking at the 3D-positioned element.
place-content59.079.053.011.046.0Used in flexbox and grid layouts, and is a shorthand property for the following properties:
place-items59.079.045.011.046.0Used in grid layout, and is a shorthand property for the following properties:
place-self59.079.045.011.046.0Used to align individual grid items, and is a shorthand property for the following properties:
pointer-events2.011.03.64.09.0Defines whether or not an element reacts to pointer events.
property1.07.01.01.04.0Specifies the type of positioning method used for an element (static, relative, absolute, fixed, or sticky).
quotes 11.08.01.55.14.0Sets the type of quotation marks for quotations.
resize4.079.05.0
4.0 
(-moz-)
4.015.0Defines if (and how) an element is resizable by the user.
right1.05.51.01.05.0Affects the horizontal position of a positioned element.
rotate1041047214.190Allows you to rotate elements.
row-gap66(in Grid)
84(in Flexbox)
16(in Grid)
84(in Flexbox)
61(in Grid)
63(in Flexbox)
12(in Grid)
14.1(in Flexbox)
53(in Grid)
70(in Flexbox)
Specifies the gap between the rows in a flexbox or grid layout.
scale1041047214.190Allows you to change the size of elements.
scroll-behavior61.079.036.014.048.0Specifies whether to smoothly animate the scroll position, instead of a straight jump, when the user clicks on a link within a scrollable box.
 scroll-margin69.079.090.014.156.0Specifies the distance between the snap position and the container.
scroll-margin-block69.079.068.014.156.0Specifies the distance in block direction, between the snap position and the container.
scroll-margin-block-end69.079.068.014.156.0Specifies the distance in block direction, between the snap position and the container.
scroll-margin-block-start69.079.068.014.156.0Specifies the distance in block direction, between the snap position and the container .
scroll-margin-bottom69.079.068.014.156.0Specifies the distance between the snap position and the container.
scroll-margin-inline69.079.068.014.156.0Specifies the distance in the inline direction, between the snap position and the container.
croll-margin-inline-end69.079.068.014.156.0Specifies the distance in the inline direction, between the snap position and the container.
scroll-margin-inline-start69.079.068.014.156.0Specifies the distance in the inline direction, between the snap position and the container.
scroll-margin-left69.079.068.014.156.0Specifies the distance between the snap position and the container.
scroll-margin-right69.079.068.014.156.0Specifies the distance between the snap position and the container.
scroll-margin-top69.079.068.014.156.0Specifies the distance between the snap position and the container.
scroll-padding69.079.068.014.156.0Specifies the distance from the container to the snap position of child elements.
scroll-padding-block69.079.068.015.056.0Specifies the distance in block direction, from the container to the snap position on the child elements.
scroll-padding-block-end69.079.068.015.056.0Specifies the distance in block direction from the end of the container to the snap position on the child elements.
scroll-padding-block-start69.079.068.015.056.0Specifies the distance in block direction from the start of the container to the snap position on the child elements.
scroll-padding-bottom69.079.068.014.156.0Specifies the distance from the bottom of the container to the snap position on the child elements.
scroll-padding-inline69.079.068.015.056.0Specifies the distance in the inline direction from the container to the snap position on the child elements.
scroll-padding-inline-end69.079.068.015.056.0Specifies the distance in the inline direction from the end of the container to the snap position on the child elements.
scroll-padding-inline-start69.079.068.015.056.0Specifies the distance in the inline direction from the start of the container to the snap position on the child elements.
scroll-padding-left 69.079.068.014.156.0Specifies the distance from the left side of the container to the snap position on the child elements.
scroll-padding-right69.079.068.014.156.0Specifies the distance from the right side of the container to the snap position on the child elements.
scroll-padding-top69.079.068.014.156.0Specifies the distance from the top of the container to the snap position on the child elements.
scroll-snap-align69.079.068.011.056.0Specifies where elements will snap into focus when you stop scrolling.
scroll-snap-stop75.079.0103.015.062.0Specifies whether to scroll past elements or to stop and snap on the next element.
scroll-snap-type69.079.099.011.056.0Specifies how the elements will snap into focus when you stop scrolling, and in what direction.
tab-size21.079.04.0 (-moz-)
6.115.0
10.6 (-o-)
Specifies the width of a tab character.
table-layout14.05.01.01.07.0Defines the algorithm used to lay out table cells, rows, and columns.
text-align1.03.01.01.03.5Specifies the horizontal alignment of text in an element.
text-align-last47.05.5****49.0
12.0 
(-moz-)
Not supported34.0Specifies how to align the last line of a text.
text-decoration1.03.01.01.03.5Specifies the decoration added to text
text-decoration-color57.079.036.0
6.0
(-moz-)
12.1
7.1
(-webkit-)
44.0Specifies the color of the text-decoration (underlines, overlines, linethroughs).
text-decoration-line57.079.036.0
6.0
(-moz-)
12.1
7.1
(-webkit-)
44.0Sets the kind of text decoration to use (like underline, overline, line-through).
text-decoration-style57.079.036.0
6.0
(-moz-)
12.144.0Sets the style of the text decoration (like solid, wavy, dotted, dashed, double).
text-decoration-thickness89.089.070.012.175.0Specifies the thickness of the decoration line.
text-emphasis99.099.046.07.015.0
(-webkit-)
Used to apply emphasis marks to text.
text-indent1.03.01.01.03.5Specifies the indentation of the first line in a text-block.
text-justifyYes*****
11.055.010.0.3Yes*****Specifies the justification method of text when text-align is set to “justify”.
text-orientation48.079.041.014.035.0Specifies the orientation of characters.
text-overflow4.06.07.03.111.0
9.0 (-o-)
Specifies how overflowed content that is not displayed should be signaled to the user.
text-shadow4.010.03.54.09.6Adds shadow to text.
text-transform1.04.01.01.07.0Controls the capitalization of text.
top1.05.01.01.06.0Affects the vertical position of a positioned element.
transform(2D)36.0
4.0 
(-webkit-)
10.0
9.0 (-ms-)
16.0
3.5 
(-moz-)
9.0
3.2 
(-webkit-)
23.0
15.0 
(-webkit-)
10.5 (-o-)
Applies a 2D or 3D transformation to an element.
transform(3D)36.0
12.0 
(-webkit-)
12.010.09.0
4.0 
(-webkit-)
23.0
15.0 
(-webkit-)
Applies a 2D or 3D transformation to an element.
transform-origin36.0
4.0 
(-webkit-)
10.0
9.0 (-ms-)
16.0
3.5 
(-moz-)
9.0
3.2 
(-webkit-)
23.0
15.0
 (-webkit-)
10.5 (-o-)
Allows you to change the position of transformed elements.
transform-style36.0
12.0 
(-webkit-)
11.016.0
10.0 
(-moz-)
9.0
4.0 
(-webkit-)
23.0
15.0
 (-webkit-)
Specifies how nested elements are rendered in 3D space.
transition26.0
4.0 
(-webkit-)
10.016.0
4.0 
(-moz-)
6.1
3.1 
(-webkit-)
12.1
10.5 (-o-)
shorthand property
transition-delay26.0
4.0 
(-webkit-)
10.016.0
4.0 
(-moz-)
6.1
3.1
 (-webkit-)
12.1
10.5 (-o-)
Specifies when the transition effect will start.
transition-duration26.0
4.0 
(-webkit-)
10.016.0
4.0 
(-moz-)
6.1
3.1 
(-webkit-)
12.1
10.5 (-o-)
Specifies how many seconds (s) or milliseconds (ms) a transition effect takes to complete.
transition-property26.0
4.0 
(-webkit-)
10.016.0
4.0
 (-moz-)
6.1
3.1 
(-webkit-)
12.1
10.5 (-o-)
Specifies the name of the CSS property the transition effect is for (the transition effect will start when the specified CSS property changes).
transition-timing-function26.0
4.0 
(-webkit-)
10.016.0
4.0 
(-moz-)
6.1
3.1 
(-webkit-)
12.1
10.5 (-o-)
 Specifies the speed curve of the transition effect.
translate1041047214.190Allows you to change the position of elements.
unicode-bidi2.05.51.01.39.2Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document.
user-select54.0
6.0 
(-webkit-)
79.0
10.0
(-ms-)
69.0
2.0
(-moz-)
3.1
(-webkit-)
41.0
15.0
(-webkit-)
Specifies whether the text of an element can be selected.
vertical-align1.04.01.01.04.0Sets the vertical alignment of an element.
visibility1.04.01.01.04.0Specifies whether or not an element is visible.
white-space1.08.03.53.09.5Specifies how white-space inside an element is handled.
width1.04.01.01.03.5Sets the width of an element.
word-break4.05.515.03.115.0Specifies how words should break when reaching the end of a line.
word-spacing1.06.01.01.03.5Increases or decreases the white space between words.
word-wrap4.05.53.53.110.5Allows long words to be able to be broken and wrap onto the next line.
writing-mode48.012.041.011.035.0Specifies whether lines of text are laid out horizontally or vertically.
z-index1.04.03.01.04.0Specifies the stack order of an element.

* To get this to work, open about:config and set thelayout.css.backdrop-filter.enabled to true, and also the gfx.webrender.all preferences needs to be set to true.

**Before version 79, Edge only supported clip-path on SVG elements (not HTML elements).

*** In Microsoft Edge, the property value ‘none’ is treated like ‘contain’, and this is not correct.

****In Internet Explorer 11 (and earlier), the “start” and “end” values are not supported.

*****This feature is behind the Enable Experimental Web Platform Features preference (needs to be set to Enabled). To change preferences in Chrome: type in “chrome://flags” in the Chrome browser. To change preferences in Opera: type in “flags” in the Opera browser.

As you can see CSS is far from being cross-browser compatible. You need to be careful which selectors, units, and properties you use.

Source:https://www.w3schools.com

Summary
Article Name
The Cross-Browser Compatibility Guide – CSS Rules Across Browsers - BrowseEmAll
Description
Welcome to the third part of the cross-browser compatibility guide. CSS rules across browsers CSS 2 and 3 know many style rules which you can use to separate the styling and markup of your website. Un…
Author
Publisher Name
Browse Em All
Publisher Logo