diff options
author | Mark Otto <markdotto@gmail.com> | 2022-10-06 03:17:09 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2022-11-11 21:27:17 +0300 |
commit | 50ce4d2f130a47441e4417d7114efe78809984e7 (patch) | |
tree | 4eb199e8535bd3042469bf321117926bc2d1f1ae | |
parent | 6a90bb0df59c8158be1662580d3c8769570c1161 (diff) |
Document links in Reboot
-rw-r--r-- | site/content/docs/5.2/content/reboot.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/site/content/docs/5.2/content/reboot.md b/site/content/docs/5.2/content/reboot.md index 55f7f66331..0527ffa398 100644 --- a/site/content/docs/5.2/content/reboot.md +++ b/site/content/docs/5.2/content/reboot.md @@ -95,6 +95,20 @@ All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin- | `<h6></h6>` | <span class="h6">h6. Bootstrap heading</span> | {{< /bs-table >}} +## Links + +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. + +{{< example >}} +<a href="#">This is an example link</a> +{{< /example >}} + +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. + +{{< example >}} +<a>This is a placeholder link</a> +{{< /example >}} + ## Horizontal rules 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. |