CSS Examples
Simple Button
Press Me
Using box shadow, text shadow, and hover to give the button depth.
Ease Out Color Transition
Using transition of 2 seconds ease out to change colors of image.
Slide From Side
Using box shadow, text shadow, and hover from the example used during class to give the button depth.
Bouncing Picture
Using "animation-iteration-count:infinite" to make the movemenet loop and "animation-direction: alternate" to make it bounce back and forth with a duration of 1 second.
Red Circle To Black Square On Click
Using border-radius and transition all to change red circle to a black square with a 1 second delay on click.
Rotate
Used "transform:rotate" to spin the image.
Zoom With Border
Using 2 second ease to transition in shaded border and zoom in.
Graph
This crap is pissing me off and won't align to the bottom!!!!!!!!
Text Shadow
Text Shadow ... Don't know if this is even counts.
This isn't very impressive at all but I am really running out of ideas.
Roll To Side
Using rotate and % margins to roll the spinning image to one side.
Falling Woman
Oh shit finally got this one to work. Using keyframes and a repeating animation made her fall from the sky.
Triangle
You guessed it ... it's a triangle. Used transparent left and right borders with a solid bottom to create the triangle and to make it less boring added a transition to a colored background behind the triangle.
Want Me Bigger?
Hover to stretch him side to side then click him to stretch him down!
Flash
Ahhhhhh....using opacity and animation with transition to make the image flash white. Click to send him speeding away in a flash.
Black And White / Blur
Hover to change filter to greyscale or click to activate blur filter.
Color Fade
This is absolutely NUTS!!!!!! Broke out each letter into a seperate DIV and set a delay for the animation and transition so that it appears as though the font color change scrolls through the words letter by letter. There HAS to be a faster way to do this.
Diagnal Slide
Slide Right
Click the words to send them sliding. Transition using margin left and top to push the image in a diagnal direction.
Rocket
Click the rocket to make it blast off into outerspace!!!! Using margins and keyframes to push the rocket from the left margin off the screen speeding up after take off.
Frog
Give the frog a click to send him jumping across the screen. Using keyframes and margins to push the frog the right and up and down.
Image Zoom
Zoom to the center of the image with a hover.
Hover
Using margins to push Dhalsim up and down to look as he is floating!
Circle Shadow
Yup a circle with a shadow on hover... fancy stuff here!
Clock
Descrip
Transformer
More than meets the eye.
Rocking Chair
Hover to make the chair rock by rotating degrees with keyframes.
Image Shrink
Getting later...yes it's a shrinking picture.
Form
Sample email and password signin form.
Click Me Button Fun
Click here for fun!
Sleepy
I'm sleepy...this is just an image swap.
EXAMPLE 30
It's bedtime...fuck this shit!