Skip to content

Commit 50ce4d2

Browse files
committed
Document links in Reboot
1 parent 6a90bb0 commit 50ce4d2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

site/content/docs/5.2/content/reboot.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,20 @@ All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin-
9595
| `<h6></h6>` | <span class="h6">h6. Bootstrap heading</span> |
9696
{{< /bs-table >}}
9797

98+
## Links
99+
100+
Hyperlinks have a default `color` and underline applied. While links change on `:hover`, they don't change based on whether someone `:visited` the link. They also receive no special `:focus` styles.
101+
102+
{{< example >}}
103+
<a href="#">This is an example link</a>
104+
{{< /example >}}
105+
106+
Placeholder links—those without an `href`—are targeted with a more specific selector and have their `color` and `text-decoration` reset to their default values.
107+
108+
{{< example >}}
109+
<a>This is a placeholder link</a>
110+
{{< /example >}}
111+
98112
## Horizontal rules
99113

100114
The `<hr>` element has been simplified. Similar to browser defaults, `<hr>`s are styled via `border-top`, have a default `opacity: .25`, and automatically inherit their `border-color` via `color`, including when `color` is set via the parent. They can be modified with text, border, and opacity utilities.

0 commit comments

Comments
 (0)