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