PostCSS的一个插件,从像素单位生成viewport单位(vw,vh,vmin,vmax)。通过一种设计尺寸在不同显示器上创建可扩展界面的最佳选择。
viewport-units 开源项目推荐(21 个)
viewport-units 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 21 个仓库Project Archived - Easy-to-use interface and extensive collection of testing tools for optimizing performance and user experience.
PostCSS 伸缩视图转换插件。PostCSS plugin for viewport scaling. Optimized postcss-px-to-viewport/postcss-pxtorem for mobile.
使用 CSS、PostCSS、Sass、Less 或 Stylus 为 React Native 组件设置样式。
📐 Cross-Platform Viewport Units (vw, vh, vmin, vmax, percentage) + useUnits hook for React Native, React Native Web and Expo.
CSS Grid Playground
Better vw and vh units which takes into account the scrollbars
Transform CSS viewport units of a Javascript style object to pixels based on window dimensions
PostCSS plugin that gives dvh, svh, lvh and the other dynamic viewport units a vh/vw fallback that really applies, also for var() values, custom properties, @media, @container, @Keyframes and @Property.
Agent skill: iPhone Safari layout gotchas that headless tests can't show — measured in the iOS simulator, with fixes and verification recipes.
https://abhisingh58.github.io/Responsive-Main-Page/
A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).
Responsive design for BBQ Splash Page
Implementasi Viewport Unit (vh, vw, vmin, dan vmax)
Fully responsive one page with simply contact form
This skillex landing page reponsive mainly made up of html css js
An example app to show how CSS Viewport Units work in React Native.
@uh-ro/dimensions is a utility package that streamlines the process of creating responsive designs in React Native applications. It is inspired by viewport units - (vh and vw) in CSS, and simplifies the process of scaling dimensions and fonts based on a base dimension.
Pixel PX to VH / VW Viewport Conversion
Portal de notícias tecnológicas responsivo — CSS Grid, Flexbox, clamp() e Mobile-First. Sem bibliotecas externas.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/viewport-units。
- 该话题在 GitHub 上共有 21 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 5481 Star,覆盖 8 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。