mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Update utility example to avoid cspell error
This commit is contained in:
parent
bf3b21802e
commit
4289ec74b7
@ -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": (
|
||||
@ -417,6 +418,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,
|
||||
@ -424,7 +426,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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user