Download react-spring/docs/app/components/Asides/StickyAside.css.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Asides/StickyAside.css.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Asides/StickyAside.css.ts
-
curl -L -o StickyAside.css.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/docs/app/components/Asides/StickyAside.css.ts
556 Bytes
| import { recipe } from '@vanilla-extract/recipes' | |
| import { BREAKPOINTS } from '../../styles/breakpoints.css' | |
| import { vars } from '../../styles/theme-contract.css' | |
| export const aside = recipe({ | |
| base: { | |
| display: 'none', | |
| flexShrink: 1, | |
| width: '30rem', | |
| gridArea: 'aside', | |
| '@media': { | |
| [`screen and ${BREAKPOINTS.tabletUp}`]: { | |
| display: 'block', | |
| paddingTop: vars.space['25'], | |
| height: '100%', | |
| }, | |
| }, | |
| }, | |
| variants: { | |
| isStuck: { | |
| true: { | |
| position: 'fixed', | |
| }, | |
| }, | |
| }, | |
| }) | |