1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

Add border width utility (#31484)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
Mauricio Hernan Cabrera
2020-09-09 05:28:52 -03:00
committed by GitHub
parent 2a249557f1
commit 6455c2e8aa
4 changed files with 24 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ toc: true
- Changed the Sass file from `scss/helpers/_screenreaders.scss` to `scss/helpers/_visually-hidden.scss`
- Renamed `.sr-only` and `.sr-only-focusable` to `.visually-hidden` and `.visually-hidden-focusable`
- Renamed `sr-only()` and `sr-only-focusable()` mixins to `visually-hidden()` and `visually-hidden-focusable()`.
- Add border width utility, see [31484](https://github.com/twbs/bootstrap/pull/31484)
### Docs

View File

@@ -43,6 +43,16 @@ Change the border color using utilities built on our theme colors.
<span class="border border-white"></span>
{{< /example >}}
### Border-width
{{< example class="bd-example-border-utils" >}}
<span class="border border-1"></span>
<span class="border border-2"></span>
<span class="border border-3"></span>
<span class="border border-4"></span>
<span class="border border-5"></span>
{{< /example >}}
## Border-radius
Add classes to an element to easily round its corners.