Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Learn CSS animation in 8 minutes 🎞️
Play lesson

CSS tutorial for beginners 🎨 - Learn CSS animation in 8 minutes 🎞️

4.0 (2)
19 learners

What you'll learn

This course includes

  • 1 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

CSS animation tutorial example explained #CSS #animation #tutorial #box1{ width: 250px; height: 250px; background: red; font-size: 225px; text-align: center; /* animation: mySlide; animation-play-state: running; animation-iteration-count: infinite; animation-delay: 0s; animation-timing-function: linear; animation-duration: 5s; */ animation: 3s linear 0s infinite running mySlide; } #box1:hover{ } #box1:active{ } @keyframes mySlide{ from{margin-left: 100%;} to{margin-left: 0%;} } @keyframes myRotate{ /*100%{transform: rotateX(360deg)}*/ /*100%{transform: rotateY(360deg)}*/ 100%{transform: rotateZ(360deg)} } @keyframes myOpacity{ 50%{opacity: 0;} } @keyframes myScale{ 50%{transform: scale(0.5, 0.5);} } @keyframes myColorChange{ 0%{background-color: red;} 20%{background-color: orange;} 40%{background-color: yellow;} 60%{background-color: green;} 80%{background-color: blue;} 100%{background-color: purple;} }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere