-
Hi,
For my personal use, I have extended the radius conditional smart use of clamp() to container queries. This is pretty straightforward swapping viewport units to cqi.
I have also extended thi…
-
It's sometimes useful to only sample at the integers, for example for plots involving lcm, gcd, nCr, or nPr. Using `X=round(X)` and `Y=round(Y)` wastes GPU power in repeating identical samples for fr…
-
`vh` units have always been a little off in Applemail as they render from the email height rather than the viewport height.
However in iOS15 it now looks like they are rendering as `0` no matter w…
-
Position [fixed](https://www.w3.org/TR/css-position-3/#valdef-position-fixed) is positioned and sized relative to a [fixed position containing block](https://www.w3.org/TR/css-position-3/#fixed-positi…
-
The script recalculates on `orientationchange` event. I think we should recalculate dimensions on other events. One case I have currently problem with is scrolling on iOS Safari. When you scroll down …
-
hi Alek,
Thanks for the Creating a Fluid Type Scale with CSS Clamp article. I'm just getting into fluid type and read alot about using cqi instead of vw 'cause the font size is calculated based on th…
-
https://css-tricks.com/viewport-sized-typography/
-
This looks much nicer: http://shashi.biz/ijulia-notebooks/funcgeo/
-
之前看了大漠老师的VW适配方案,觉得受益匪浅,对比flexible的方案,与js解耦,纯css的适配方案,关于VW的介绍里面有详细的[介绍](https://www.w3cplus.com/mobile/vw-layout-in-vue.html)
项目基于vue-cli
首先安装所需的插件
`npm i postcss-aspect-ratio-mini postcss-px-to…
-
### What happened?
On iPad around 10% of the bottom part of the gui is invisible. This is due to a safari bug...I mean feature with the css unit vh.
Safari includes the addressbar into the viewport …