1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 16:14:04 +02:00
Files
bootstrap/scss/helpers/_focus-ring.scss
Mark Otto c1e8462c4b Implement CSS layers
Rearrange and comment import stack

Move content stylesheets to new folder
2025-05-30 20:30:55 -07: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);
}
}