0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-15 15:29:22 +01:00
Bootstrap/scss/helpers/_focus-ring.scss
Mark Otto 4d08a84eb1 Implement CSS layers
Rearrange and comment import stack

Move content stylesheets to new folder
2025-03-04 16:21:58 -08:00

10 lines
438 B
SCSS

@use "../config" as *;
@layer helpers {
.focus-ring:focus {
outline: 0;
// By default, there is no `--bs-focus-ring-x`, `--bs-focus-ring-y`, or `--bs-focus-ring-blur`, but we provide CSS variables with fallbacks to initial `0` values
box-shadow: var(--#{$prefix}focus-ring-x, 0) var(--#{$prefix}focus-ring-y, 0) var(--#{$prefix}focus-ring-blur, 0) var(--#{$prefix}focus-ring-width) var(--#{$prefix}focus-ring-color);
}
}