unocss-preset-better-breakpoints
v0.0.1
Published
UnoCSS has better breakpoint presets, which can be configured for Desktop First and Mobile First
Maintainers
Readme
unocss-preset-better-breakpoints
为 UnoCSS 打造的更好的 BreakPoints 预设, 无论您是移动端优先或者桌面端优先。
功能
- 📏 根据视口响应式的断点系统
- 📱 更好的适配设计稿和设备
- 📦 使用简单
- 🚀 快速高效的完成各种设备的适配
安装
# ✨ Auto-detect
npx nypm install -D unocss-preset-better-breakpoints
# npm
npm install -D unocss-preset-better-breakpoints
# yarn
yarn add -D unocss-preset-better-breakpoints
# pnpm
pnpm install -D unocss-preset-better-breakpoints
# bun
bun install -D unocss-preset-better-breakpoints
# deno
deno install --dev unocss-preset-better-breakpoints使用
import { defineConfig } from 'unocss'
import { presetBetterBreakpoints } from 'unocss-preset-better-breakpoints'
export default defineConfig({
presets: [
// ...
presetBetterBreakpoints(),
],
})开源许可
Published under the MIT license. Made by @ZaneL1u and community 💛
🤖 auto updated with automd
