Class 14: CSS
2D and 3D rotations. Includes the code for CSS and HTML
Direct quotes that I found useful:
With CSS3 transitions you have the potential to alter the appearance and behavior of an element whenever a state change occurs, such as when it is hovered over, focused on, active, or targeted.
Animations within CSS3 allow the appearance and behavior of an element to be altered in multiple keyframes. Transitions provide a change from one state to another, while animations can set multiple points of transition upon different keyframes.
an element must have a change in state, and different styles must be identified for each state. The easiest way for determining styles for different states is by using the :hover, :focus, :active, and :target pseudo-classes.
There are four transition related properties in total, including transition-property, transition-duration, transition-timing-function, and transition-delay. Not all of these are required to build a transition, with the first three are the most popular.
More code examples iwth CSS and how it will look in HTML for transitions and also animation
8 SIMPLE CSS3 TRANSITIONS THAT WILL WOW YOUR USERS
- Fade in
- Change color
- Grow and Shrink
- Rotate Elements
- Square to Circle
- 3d Shadow
- Swing
- Inset border
a codepen link showing the some css button styles
Codepen link showing keyframe animations
fancy 404 error CSS styling animation
HTML elements go bounce. I like this one. Will resist urge to place unneccessarily.
Things I want to learn more about
Just want to practice using these. Esp the nth and child things with CSS. Just odd pharsing to wrap mind around.