Showing 1-20 of 310 packages
React hook for finding device pixel ratio (DPR), optionally capping/rounding
Simple function which determines if your code is running on a high DPR device or not
dpr ===
Postcss version of px2rem-dpr
SnowfallCanvas is a high-performance snowfall animation for any HTMLCanvasElement with automatic DPR and performance adaptation.
Telco-DPR enhanced MCP server for 3GPP RAG with Gemini LLM integration. Provides research-validated 86.2% Top-10 accuracy using Dense Hierarchical Retrieval.
Postcss version of yqb-px2rem-dpr
A high-performance dice probability engine for D&D 5e DPR calculations. Powers dprcalc.com.
Html sizes generator with max DPR support
Postcss version of yqb-px2rem-dpr
Sets canvas size using dpr
React Calendar
A CSS post-processor that converts px to rem.
医患链内部react hooks抽象
Make configurable canvas easily with Canvafy
<p align="center"> <a href="https://tipe.io/" target="_blank"> <img alt="Tipe" src="https://cdn.tipe.io/tipe/tipe-github.png?auto=compress%2Cformat&w=800&dpr=2" class="img-responsive"> </a> </p>
- 可傳入的多個圖片 URL,並依序載入。 - 可傳入參數`rwd`,決定不同螢幕寬度下的圖片。 - 可傳入參數`breakpoint`,修改螢幕寬度斷點。 - 嘗試依據參數`rwd`與 DPR(Device pixel ratio)偵測最適圖片,作為優先載入的對象(詳見「關於「抓取最適圖片」的設計限制」)。 - 當特定圖片載入成功時,則顯示該圖片;當特定圖片載入失敗時,則載入更大尺寸的圖片。 - 當所有圖片 URL 皆載入失敗時,載入預設圖片。 - 實作圖片載入動畫效果。 - 實作圖片 preload
According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet
* 应用中,对字体大小不使用`rem`, rem的基准值与屏幕宽度成正比, 这就造成相同分辨率的屏幕,越宽字越大,越窄字越小, 在开发过程中,我们创造了 `dpx` (dpr px) 这个单位, 按照dpr来放大 1*px, 2*px, 3*px 大小的字体,再按照屏幕dpr缩小, 这样就达到了字体 不缩放, 各种屏幕的字体看起来都差不多,也与屏幕宽度无关。 * 边框一般不使用`rem` , 在移动设备上最常见的就是`1px`的边框, 由上一条规则我们知道`rem`无法精确到`1px`, 它只是一个与屏幕
According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet