The border CSS property is a shorthand that sets the line style, width, and color of an element’s border. For example, border: 2px solid red; would create a 2-pixel wide, solid red border around the element. It’s a convenient way to set the various border properties in one go, including border-width, border-style, and border-color.