Download node_modules/autoprefixer/lib/hacks/grid-row-align.js from jayvatliq/car-view-classifier-frontend: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/grid-row-align.js
- Command line
-
hf download hf://spaces/jayvatliq/car-view-classifier-frontend/node_modules/autoprefixer/lib/hacks/grid-row-align.js
-
curl -L -o grid-row-align.js https://huggingface.co/spaces/jayvatliq/car-view-classifier-frontend/resolve/main/node_modules/autoprefixer/lib/hacks/grid-row-align.js
496 Bytes
| let Declaration = require('../declaration') | |
| class GridRowAlign extends Declaration { | |
| /** | |
| * Do not prefix flexbox values | |
| */ | |
| check(decl) { | |
| return !decl.value.includes('flex-') && decl.value !== 'baseline' | |
| } | |
| /** | |
| * Change IE property back | |
| */ | |
| normalize() { | |
| return 'align-self' | |
| } | |
| /** | |
| * Change property name for IE | |
| */ | |
| prefixed(prop, prefix) { | |
| return prefix + 'grid-row-align' | |
| } | |
| } | |
| GridRowAlign.names = ['grid-row-align'] | |
| module.exports = GridRowAlign | |