General formatting (#33042)

This commit is contained in:
Travis Benfield
2018-12-19 09:18:32 -05:00
committed by Tom
parent cf3a5ad92b
commit 328710238e

View File

@ -56,10 +56,7 @@ Or they can all be styled at once:
The border property allows you to select each side of the element in one declaration in the following order: top, bottom, left, right. The border property allows you to select each side of the element in one declaration in the following order: top, bottom, left, right.
### Border Width ### Border Width
To alter the thickness of your border, use the `border-width` property. You may use key terms or exact values to define the border width. _Note: You must define a border-style for the border to show up._ The width can be set as a specific size (in px, pt, em, rem etc) or by using one of the three pre-defined values: `thin`, `medium`, or `thick`.
To alter the thickness of your border use the `border-width` property. You may use key terms or exact values to define the border width. _Note: You must
define a border-style for the border to show up._ The width can be set as a specific size (in px, pt, em, rem etc) or by using one of the three pre-defined
values: thin, medium, or thick.
Example: Example:
```css ```css
@ -80,9 +77,7 @@ p {
``` ```
### Border Color ### Border Color
Now for the creative aspect of CSS Borders! With the use of the `border-color` property, you will be able to create customized borders to fit the flow and layout of your website. Border colors can be any color defined by RGB, hexadecimal, or key terms. Below is an example of each of these types.
Now for the creative aspect of CSS Borders! With the use of the `border-color` property, you will be able to create customized borders to fit the flow and layout
of your website. Border colors can be any color defined by RGB, hexadecimal, or key terms. Below is an example of each of these types.
Example: Example:
```css ```css