From: Louis-Maxime Piton Date: Thu, 2 Mar 2023 06:45:25 +0000 (+0100) Subject: Utilities: add 0 value to `link-underline-opacity` (#38131) X-Git-Tag: v5.3.0-alpha2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d20fa54f56df357501498719a5c63372bc49d0;p=thirdparty%2Fbootstrap.git Utilities: add 0 value to `link-underline-opacity` (#38131) --- diff --git a/scss/_utilities.scss b/scss/_utilities.scss index e1191f1461..6f1b306b34 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -651,6 +651,7 @@ $utilities: map-merge( class: link-underline-opacity, state: hover, values: ( + 0: 0, 10: .1, 25: .25, 50: .5, diff --git a/site/content/docs/5.3/utilities/link.md b/site/content/docs/5.3/utilities/link.md index 2baebf9e2f..1b8eaa1ef3 100644 --- a/site/content/docs/5.3/utilities/link.md +++ b/site/content/docs/5.3/utilities/link.md @@ -59,6 +59,7 @@ Change the underline's distance from your text. Offset is set in `em` units to a Change the underline's opacity. Requires adding `.link-underline` to first set an `rgba()` color we use to then modify the alpha opacity. {{< example >}} +

Underline opacity 0

Underline opacity 10

Underline opacity 25

Underline opacity 50

@@ -71,8 +72,8 @@ Change the underline's opacity. Requires adding `.link-underline` to first set a Just like the `.link-opacity-*-hover` utilities, `.link-offset` and `.link-underline-opacity` utilities include `:hover` variants by default. Mix and match to create unique link styles. {{< example >}} - - Underline opacity 10 + + Underline opacity 0 {{< /example >}}