1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Update utility example to avoid cspell error

This commit is contained in:
Romaric Pascal 2022-09-09 12:20:33 +01:00 committed by Mark Otto
parent b8c18ab03f
commit 8f2b9e7e37

View file

@ -379,11 +379,12 @@ If your code declares a `$utilities` map before importing `bootstrap/scss/utilit
```scss
$utilities: (
// Adds a new font-variant utility
"font-variant": (
class: fv,
property: font-variant,
values: tabular-nums small-caps,
// Adds a new cursor utility
"cursor": (
property: cursor,
class: cursor,
responsive: true,
values: auto pointer grab,
),
// Redefines the overflow utility
"overflow": (
@ -416,6 +417,7 @@ After importing `bootstrap/scss/utilities`, you can use mixins to:
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
// Adds a new cursor utility
@include utilities-add(cursor, (
property: cursor,
class: cursor,
@ -423,7 +425,7 @@ After importing `bootstrap/scss/utilities`, you can use mixins to:
values: auto pointer grab,
));
// Remove user-select and shadow
// Removes user-select and shadow
@include utilities-remove(user-select, shadow);
@import "bootstrap/scss/utilities/api";