Feat: breakpoints CSS en @custom-media via postcss-custom-media
- postcss.config.js: plugin postcss-custom-media - variables.css: @custom-media --mobile / --tablet / --tablet-only - Remplacement de tous les max-width: 700px et 912px hardcodés par @media (--mobile), (--tablet), (--tablet-only) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d42217fd20
commit
66767f0136
10 changed files with 148 additions and 18 deletions
|
|
@ -24,6 +24,8 @@
|
|||
"vite": "7.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fs-extra": "^11.3.3"
|
||||
"fs-extra": "^11.3.3",
|
||||
"postcss": "^8.5.8",
|
||||
"postcss-custom-media": "^12.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue