Skip to main content

7 docs tagged with "css"

View all tags

固定宽高自适应屏幕的实现

大家都知道 wap 开发中 body 宽度是按手机浏览器的虚拟像素宽度来适配的。而高度属性不像宽度一样可以直接取百分比来实现的。

Unable to stop CSS3 transition of transform by translate3d

In desktop Chrome and Safari is good, but in the default browser on Android 4.1.x (SGSII, Galaxy Nexus, etc) this approach does not work - transition does not stop. Additionally, I note that the situation is only a relatively translate3d: with translate and position CSS props (e.g. "top", "left") it works.