@@ -8,12 +8,15 @@ header: https://github.com/codedex-io/projects/blob/main/projects/animate-images
88bannerImage : https://github.com/codedex-io/projects/blob/main/projects/animate-images-with-keyframes-using-css/header.gif?raw=true
99published : live
1010readTime : 45
11- prerequisites : <a href="/css"> CSS</a>
11+ prerequisites : HTML, CSS
1212versions : None
1313tags :
1414 - html
1515 - css
1616 - intermediate
17+ courses :
18+ - html
19+ - css
1720---
1821
1922## Introduction
@@ -22,9 +25,9 @@ Images are quintessential to any website. It's the sparkle and it's the pizzaz!
2225
2326<RoundedImage link = " https://i.imgur.com/AqxBcsJ.png" description = " " />
2427
25- You may recall using this line to add an image to your HTML file.
28+ You may recall using this line to add an image to your HTML file:
2629
27- ```
30+ ``` html
2831<img src =" your-path.png" alt =" red chocolate chip cookie" />
2932```
3033
@@ -51,7 +54,7 @@ and _this_:
5154 description = " html review"
5255/>
5356
54- using CSS ` @keyframes ` !! (We'll explain more soon...) And the best part- we don't have to use JavaScript for it!
57+ using CSS ` @keyframes ` !! (We'll explain more soon...) And the best part - we don't have to use JavaScript for it!
5558
5659## What are animations in CSS
5760
@@ -93,7 +96,7 @@ So at 0% of the animation, the color is red, at 50% it's yellow, and at 100% or
9396
9497Let's also take a look at this line of code:
9598
96- ```
99+ ``` css
97100animation: colorChange 2s infinite;
98101```
99102
@@ -122,7 +125,7 @@ Some common ones you'll see:
122125
123126These can differ and are added right in the `animation:` of your CSS.
124127
125- ```
128+ ```css
126129.tinker_bell {
127130 animation : bounce 1s linear infinite ;
128131}
0 commit comments