how to style border css code example Example: border-style The border-style property sets the style of an element's four borders.