| Class | CSS |
|---|
| bs-o:none | box-shadow: none; |
| bs-o:xs | box-shadow: 0 1px 2px #0000000d; |
| bs-o:sm | box-shadow: 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a; |
| bs-o:md | box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a; |
| bs-o:lg | box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; |
| bs-o:xl | box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a; |
| bs-o:xxl | box-shadow: 0 25px 50px -12px #00000040; |
| bs-o:3xl | box-shadow: 0 35px 60px -15px #0000004d; |
| Class | CSS |
|---|
| bs-i:none | box-shadow: none; |
| bs-i:xs | box-shadow: inset 0 1px 2px #0000000d; |
| bs-i:sm | box-shadow: inset 0 2px 4px #0000000f; |
| bs-i:md | box-shadow: inset 0 2px 4px #0000001a; |
| bs-i:lg | box-shadow: inset 0 4px 6px #0000001a; |
| bs-i:xl | box-shadow: inset 0 6px 10px #0000001f; |
| bs-i:xxl | box-shadow: inset 0 8px 16px #00000026; |
| bs-i:3xl | box-shadow: inset 0 12px 24px #00000033; |
Variants
Prefix any class with a variant to apply it only under that condition. Variants stack, as in @md:h:bs-o:lg.
Breakpoints
Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.
| @xs:bs-o:lg | From 32rem up. |
| @sm:bs-o:lg | From 40rem up. |
| @md:bs-o:lg | From 48rem up. |
| @lg:bs-o:lg | From 64rem up. |
| @xl:bs-o:lg | From 80rem up. |
| @xxl:bs-o:lg | From 96rem up. |
Containers
Apply a class from a container's width up, not the viewport's. Mark the parent with ct:is first.
| @c:xs:bs-o:lg | Container from 32rem up. |
| @c:sm:bs-o:lg | Container from 40rem up. |
| @c:md:bs-o:lg | Container from 48rem up. |
| @c:lg:bs-o:lg | Container from 64rem up. |
| @c:xl:bs-o:lg | Container from 80rem up. |
| @c:xxl:bs-o:lg | Container from 96rem up. |
Apply a class when the device or the page matches a condition, or on the first frame an element renders.
| @pc:bs-o:lg | On a touch screen. |
| @prm:bs-o:lg | With reduced motion on. |
| @st:bs-o:lg | On the first frame. |
States
Apply a class only while the element is in a state, such as hovered, focused or checked.
| h:bs-o:lg | On :hover. |
| f:bs-o:lg | On :focus. |
| fv:bs-o:lg | On :focus-visible. |
| a:bs-o:lg | On :active. |
| d:bs-o:lg | On :disabled. |
| fc:bs-o:lg | On :first-child. |
| c:bs-o:lg | On :checked. |
| e:bs-o:lg | On :empty. |
| fw:bs-o:lg | On :focus-within. |
| i:bs-o:lg | On :invalid. |
| in:bs-o:lg | On :indeterminate. |
| lc:bs-o:lg | On :last-child. |
| nc:bs-o:lg | On :nth-child. |
| r:bs-o:lg | On :required. |
| ro:bs-o:lg | On :read-only. |
| v:bs-o:lg | On :valid. |
Pseudo Elements
Style a part of the element rather than the element itself, such as its placeholder or the selected text.
| a::bs-o:lg | On ::after. |
| b::bs-o:lg | On ::before. |
| p::bs-o:lg | On ::placeholder. |
| s::bs-o:lg | On ::selection. |