35个让人惊讶的 CSS3 动画效果演示

本文收集了35个惊人的 CSS3 动画演示,它们将证明 CSS3 Transform 和 Transition 属性的强大能力。CSS 是网页设计非常重要的一部分,随着越来越多的浏览器对 CSS3 支持的不断完善,设计师和开发者们有了更多的选择。如今,用纯 CSS 就可以实现各种各样很酷的效果,甚至是动画。

1. Pure CSS Coke Can

 

 

2. Colorful Clock

 

 

3. jQuery DJ Hero

 

 

4. Animated Pricing Column

 

 

5. Slick jQuery Menu

 

 

6. Frame-by-Frame Animation (Hover to Play)

 

 

7. AT-AT Walker

 

 

8. Contextual Slideout Tips With jQuery & CSS3

 

 

9. CSS3 & jQuery Slide Out Button

 

 

10. A Fresh Bottom Slide Out Menu with jQuery

 

 

11. Drop-In Modals

 

 

12. CSS3 Lightbox Gallery With jQuery

 

 

13. Easily Turn Your Images Into Polaroids with CSS3

 

 

14. Beautiful Looking Custom Dialog Box With jQuery and CSS3

 

 

15. Cross-Browser Rounded Buttons with CSS3 and jQuery

 

 

16. CSS3 DropDown Menu

 

 

17. CSS3 Search Form

 

 

18. CSS3 Dynamic Shadow

 

 

19. CSS3 Music Player Menu

 

 

20. Elastic Thumbnail Menu

 

 

21. Create Depth And Nice 3D Ribbons Only Using CSS3

 

 

22. CSS3 Chunky Menu

 

 

23. CSS3-only horizontal drop line tab menu

 

 

24. javascript-effect alternatives using CSS3 for webkit browsers

 

 

25. CSS3 Flying Menu

 

梦想天空关注 前端开发,展示 HTML5CSS3应用,分享 jQuery插件,推荐优秀 网页设计案例。

 

26. Twitter-like Input Using CSS3

 

 

27. Animated wicked CSS3 3d bar chart

 

 

28. Wicked CSS3 3d bar chart

 

 

29. Pure CSS3 bokeh effect

 

 

30. Query & CSS3 Gallery With Animated Shine Effects

 

 

31. Interactive Image Vamp up with jQuery, CSS3 and PHP

 

 

32. How to Create a “Stay-On-Top” Menu with CSS3 and jQuery

 

 

33. Halftone Navigation Menu With jQuery & CSS3

 

 

34. 3D Meninas

 

 

35. Sliding Vinyl

 

 

36. Spotlight Cast Shadow

 

Spotlight Cast Shadow
参考页面:http://www.cnblogs.com/lhb25/archive/2011/11/22/best-awesome-css3-animation-demos.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: CSS3动画效果是利用CSS3动画属性来实现各种各样的动画效果。下面是一些常见的CSS3动画效果及其代码示例: 1. 平移动画效果: ```css @keyframes move { 0% {transform: translateX(0px);} 100% {transform: translateX(200px);} } .element { animation: move 2s infinite; } ``` 2. 缩放动画效果: ```css @keyframes scale { 0% {transform: scale(1);} 50% {transform: scale(1.5);} 100% {transform: scale(1);} } .element { animation: scale 2s infinite; } ``` 3. 旋转动画效果: ```css @keyframes rotate { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} } .element { animation: rotate 2s infinite; } ``` 4. 淡入淡出动画效果: ```css @keyframes fade { 0% {opacity: 0;} 100% {opacity: 1;} } .element { animation: fade 2s infinite; } ``` 5. 弹跳动画效果: ```css @keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-30px);} 60% {transform: translateY(-15px);} } .element { animation: bounce 2s infinite; } ``` 除了以上的效果之外,还有很多其他的CSS3动画效果,比如闪烁、摇摆、颤动等等。你可以根据具体需求来选择相应的属性和关键帧,通过合理的组合来实现自定义的动画效果。要注意兼容性,一些较老的浏览器可能不支持某些CSS3属性。 ### 回答2: CSS3动画效果大全代码十分丰富,以下是一些常见的动画效果及其相应代码示例: 1. 渐变动画: ``` @keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } .element { animation: fade-in 1s; } ``` 2. 缩放动画: ``` @keyframes scale { 0% { transform: scale(0); } 100% { transform: scale(1); } } .element { animation: scale 1s; } ``` 3. 旋转动画: ``` @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .element { animation: rotate 2s infinite linear; } ``` 4. 移动动画: ``` @keyframes move { 0% { transform: translate(0, 0); } 100% { transform: translate(100px, 100px); } } .element { animation: move 2s infinite alternate; } ``` 5. 弹跳动画: ``` @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .element { animation: bounce 1s infinite; } ``` 以上仅是一部分常见的CSS3动画效果代码示例,还有很多其他效果可以在不同场景中使用。CSS3动画功能可以让网页更加生动有趣,提升用户体验。 ### 回答3: CSS3动画效果是在网页设计中经常使用的一种技术,可以通过CSS样式来控制元素的动态变化,从而增加网页的交互性和视觉效果。下面是一些常见的CSS3动画效果代码: 1. 渐变动画效果: ``` div { width: 100px; height: 100px; background: linear-gradient(to right, red, blue); animation: gradient 3s infinite; } @keyframes gradient { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } } ``` 2. 旋转动画效果: ``` div { width: 100px; height: 100px; background: red; animation: rotate 3s infinite; } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } ``` 3. 缩放动画效果: ``` div { width: 100px; height: 100px; background: red; animation: scale 3s infinite; } @keyframes scale { 0% { transform: scale(1); } 50% { transform: scale(1.5); } 100% { transform: scale(1); } } ``` 4. 移动动画效果: ``` div { width: 100px; height: 100px; background: red; animation: move 3s infinite; } @keyframes move { 0% { transform: translateX(0); } 100% { transform: translateX(200px); } } ``` 5. 弹跳动画效果: ``` div { width: 100px; height: 100px; background: red; animation: bounce 1s infinite; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } ``` 这些只是一部分常见的CSS3动画效果代码,还有更多的动画效果可以通过不同的CSS属性和关键帧来实现。通过合理地运用这些代码,可以为网页增加丰富的动态效果,使用户体验更加生动和有趣。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值