Clean up formatting and edit for clarity (#25885)

Added code formatting to property names, changed 'attribute' to 'property' where applicable, and slightly edited text for clarity/conciseness.
This commit is contained in:
Toni Tesori
2018-12-12 21:13:47 -05:00
committed by Tom
parent aab0e246c7
commit 436d2d12e2

View File

@ -58,8 +58,9 @@ The border property allows you to select each side of the element in one declara
### Border Width
To alter the thickness of a border, use the `border-width` attribute. You may use key terms or exact values to define the border width.
Note: You must define a `border-style` for the border to appear. The `width` can be set as a specific size (in px, pt, cm, em, 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:
```css
@ -81,8 +82,8 @@ p {
### 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, HSL, hexadecimal, or key terms.
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:
```css