Web platform features explorer

Borders

Widely available since 2018-01-29
Tags: css Groups: CSS > Borders and outlines

The border CSS property sets the color, style, and width of the line around an element.

Learn more

Browser support

  • Chrome 1 Released on 2008-12-11
  • Chrome Android 18 Released on 2012-06-27
  • Edge 12 Released on 2015-07-29
  • Firefox 1 Released on 2004-11-09
  • Firefox for Android 14 Released on 2012-06-26
  • Safari 1 Released on 2003-06-23
  • Safari on iOS 3 Released on 2009-06-17