border

The border properties set an element’s border. This page accounts for all border longhands and shorthands.

Estimated Support About

93.94% + 6.06% = 100.0%

Notes

This pages reports support for all CSS properties related to border: border, border-width, border-style, border-color, border-top, border-bottom, border-left, border-right, border-top-width, border-top-style, border-top-color, border-bottom-width, border-bottom-style, border-bottom-color, border-left-width, border-left-style, border-left-color, border-right-width, border-right-style, border-right-color.

  • 1

    Partial. A border can not be bigger than 8px.

  • 2

    Buggy. Unreliable if used on a <p> or a <div>.

Resources

Know something we don't?

Is any of the above data outdated? Or do you want to add a new email client to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email or get in touch on Twitter.

Test it yourself

This feature was last tested on July 22, 2021.

If you want to test this feature in the same conditions as we did, you can get our test code and run a test by yourself. Make sure to follow our testing recommendations first.