Examples might be simplified to improve reading and basic understanding. You can also use border-style to set the style for all sides of your element, or border-bottom to set all border properties for the bottom border. Type: fo:border-style-or-inherit. Property border-bottom 1. Type: fo:border-style-or-inherit Properties: Local, Unqualified.
However, it also works with border-width and border-color. W3Schools is optimized for learning, testing, and training. All 3 of these properties are optional but at least one of them must be specified. If no style is declared, no border will appear even if other border properties have been set. CSS Example: The border-bottom property is set by specifying all 3 values. If the border-style property has two values:.
Copyright by Refsnes Data. Complete CSS Reference. Default color is the color of the element. However, it also works with border-width and border-color. Sets this property to its default value.
I have borders on all sides. There is no control over the spacing of the dots and dashes, nor over the length of the dashes. Stack editor Unstack editor. Type based on xsd:token Valid value inherit. The border-bottom-style property allows you to set the appearance of the border line style for the bottom border.