All CSS Border Properties Reference

Last Updated Jul 21, 2015, 12:00:06 PM





All CSS Border Properties

Border Description Video Example
border Used to set the border in a single declaration Try It Now
border-color Used to set the css border color of an element four borders Watch GIF Try It Now
border-bottom Used to set the css bottom border Try It Now
border-bottom-color Used to set the color of css border bottom Watch GIF Try It Now
border-bottom-style Used to style the bottom of the css border Try It Now
border-left Used to set the left side of the border. Try It Now
border-left-color Used to set the color of the left border Watch GIF Try It Now
border-left-style Used to set the style of the left border Try It Now
border-left-width Used to set the width of the left border Try It Now
border-right Used to set all the right border properties in one declaration Try It Now
border-right-color Used to set the color of the right border Watch GIF Try It Now
border-right-style Used to set the style of the right border Try It Now
border-top Used to set all the top border properties in one declaration Try It Now
border-top-color Used to set the color of the top border Watch GIF Try It Now
border-top-style Used to set the style the css top border Try It Now
border-top-width Used to set the width of the css top border Try It Now


Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM