30 个必看的 CSS 炫酷动画效果

12,368 阅读2分钟
原文链接: www.hongkiat.com

We’ve previously published the creative text effects you can make with CSS, and many other cool things you didn’t think were possibly to make with CSS. This compilation however focuses on the many things you can animate with CSS, and many of these creations will make you raise an eyebrow or two.

From loading animations to toggles, and modal windows to shaking elements, this pile of 30 unusual and creative uses of CSS animation can open your mind to more ways you can play with CSS animations that you’ve probably never thought of before.

CSS Loading Animation By patrikhjelm

Seven animated dots shifting left and right to signifify a loading action.

Animated Shopping Cart Icon by jonitrythall

Cute animated effects for when groceries are added to the shopping cart. Scroll down for more.

Hamburger CSS3 only animation by Dawid Krajewski

Built with pure CSS, no JS or anything else.

404 animated Character By With An Es

At least with this error page, a developer is working on it. Even if it is a 404.

CSS Mars Landing by mgitch

We have landed on Mars! Made with CSS.

The Avenger By mariosmaselli

Can you hear hulk’s anger shake through the screen? Cool, right?

Day / Night toggle By jsndks

Now, you can toggle day and night with CSS. Genius idea!

Google Now 3rd party app by codecalm

Google Now third party apps, animated.

Clo clo By judag

Does a rooster move like that? You bet it does, complete with the jiggy neck. Great CSS3 practice.

Menu icon animation by mariusbalaj

A simple idea put to action; watch the menu button materialize when you scroll down.

Another CSS Preloader by Maseone

An awesome CSS rhythmic loading animation. Hypnotic, isn’t it?

Submit button by auginator

Click to submit, and the button animates the loading process until submission is complete!

Elastic SVG Sidebar Material Design by suez

Drag the white bar to the right to see an elastic sidebar effect.

Particle button By igcorreia

Do what the button says: hover for awesomeness.

Gooey button By Lucas Bebber

Click for the Gooey effect. You’ll get it once you see it, and you will click on it a few times more. Amirite?

Flipside button By hakimel

Click on any side of the Delete button and the button will flip according to where you click.

True hamburger menu! By CharlesSmart

A truly delicious hamburger menu. Click the hamburger for effects

Cruisin’ by yy

See motorbike go.

3D cube wave By waddington

Holy 3D Cube-sicles!

Signature animation By drygiel

Here’s a signature that is not actually a GIF animation, but instead a PNG sequence animated with CSS3.

Background gradient animation By quasimondo

This trick changes the background gradient from one color to the other in a smooth, continuous form.

Star wars toggle icon By rss

A hamburger menu gets transformed into lightsabers in battle (a cross).

GIF Style animation By jascha

Watch as a photo materializes from the midst of pixel art.

Focus in/out input animation By fluxus

A little animated pen animated writes atop the forom you are filling in.

Chromatic triangleBy felipedefarias

An awesome optical illusion, yes, done with CSS3.

Coffee maker By thisisroger

Here’s a reminder to take your daily dose of coffee. Like you need one.

Chrome Dinosaur By nickspiel

Can’t reach the page you want beacuse of a dropped connection? Here’s the dinosaur you always see when that happens, only this time it is running from a meteorite!

CSS shake By elrumordelaluz

Hover over each effect to watch the little guy shake.

Newton’s Cradle Loader By All Things Smitty

If you know physics, you certainly know Newton’s cradle, but probably not like this.

Launch the Modal By koolhaus

Click to see the nice and smooth modal window animation.

Walking Robot By P233

This robot just keeps walking, and walking, and walking, around the Y axis.

Flexing Pagination Arrows By Hakim

From the first page to the last, this pagination animation shows clearly how if you are faring, pagewise.

Now Read:
15 Beautiful Text Effects Created with CSS