TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CSS3 Transition - a simple slider demo

13 点作者 gren大约 15 年前

2 条评论

adrenalin大约 15 年前
So, basically, you have a main css class with "transition-duration: 1.5s;", another class with left: -275px; and after you change to a class with left: 0px; and it animates itself without javascript (it is used only to change classes).<p>That's cool, exited about new CSS features, wish they did added these earlier..<p>And it reminds me a bit about Adobe Flash IDE, you can do animations without actionscript just by using their IDE.
not_an_alien大约 15 年前
Great degradation (meaning that the animation doesn't work in my current latest-but-non-beta FF 3.6.3, but the hard image switching still does).