reading-notes

Code Fellows Notes

View the Project on GitHub stephnitis/reading-notes

CSS Transforms

Transitions & Animations

8 simple CSS3 transitions that will wow your users

  1. Fade In: are coded in two steps: first, you set the initial state; next, you set the change
  2. Change Color: just set the div’s class to “color” and specify the color we want in our CSS
  3. Grow and Shrink: we can use CSS3’s transform to enlarge. To enlarge an element we specify a value greater than 1, to shrink it, we specify a value less than 1
  4. Rotate Elements: Give your div the class “rotate” & visit link for CSS
  5. Square to circle
  6. 3D shadow: his effect is achieved by adding a box shadow, and then moving the element on the x axis using the transform and translate properties so that it appears to grow out of the screen.
  7. Swing: This animation simply moves the element left and right
  8. Inset border: One of the hottest button styles right now is the ghost button; a button with no background and a heavy border

SO HOT RIGHT NOW

Additional References: