有关过渡的问题

发布于 2024-08-21 20:39:39 字数 90 浏览 3 评论 0原文

如何在网页上添加过渡效果?我已经尝试过,但它在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

壹場煙雨 2024-08-28 20:39:39

如果您正在谈论 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文