有关过渡的问题
如何在网页上添加过渡效果?我已经尝试过,但它在 Internet Explorer 上不起作用。如何在打开页面时添加过渡?淡入淡出、溶解等过渡效果与 ppt 中的相同
How to put transition on a web page? I have tried, but it doesn't worked on internet explorer. how to add transition during opening page? transitions effects like fades,dissolves etc. same as in ppt's
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您正在谈论 CSS3 过渡/动画(CSS3Please.com 演示此处),请注意 IE 缺乏对这些几乎全部 - 目前尚不清楚但不太可能新的 IE9 会有 CSS3 过渡。
这是本周写的一篇关于 CSS3 过渡/动画的好文章:
http://www.onextrapixel。 com/2010/11/17/a-compressive-guide-to-css-3-transitions/。
根据用户群的人口统计/浏览器偏好来决定 IE 是否需要进行转换,并且还要知道 IE 用户不太可能期望进行此类转换(因为付出努力的开发人员较少)。除非您的网站在 IE 中看起来非常华丽,否则通常可以接受让 IE 发挥作用,同时实现针对更高级浏览器的转换。
If you are talking about CSS3 transitions/animations (CSS3Please.com demo here), be aware that IE is lacking in support for these almost entirely - it is unclear but unlikely that the new IE9 will have CSS3 transitions.
This is a good article written about CSS3 transitions/animations this week:
http://www.onextrapixel.com/2010/11/17/a-comprehensive-guide-to-css-3-transitions/.
Decide whether transitions are necessary for IE based on the demographics/browser preferences of your user base, and also knowing that IE users are far less likely to expect such transitions (because fewer developers make the effort). Unless it is truly critical that your site looks gorgeous in IE it's usually acceptable to make IE functional, while implementing transitions for the more advanced browsers.