CSS Animation with Keyframes: An Introduction

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Here is the code for the CSS animation tutorial. Please also note the inclusion for browser fallback: @-webkit-keyframes.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bouncing Arrow</title>

<style>
.arrow{
position: relative;
font-size: 48px;
text-align: center;
transform: rotate(90deg);
animation: bouncearrow 1s infinite;
color: #ffc728;
}

@-webkit-keyframes bouncearrow{
0%{top: 0px;}
50%{top: 20px; color:
100%{top: 0px;}
}

@keyframes bouncearrow{
0%{top: 0px;}
50%{top: 20px; color:
100%{top: 0px;}
}
</style>
</head>


<body>
<div class="arrow">&#8674;</div>
</body>
</html>

ArjunKhara
Автор

who teaches like this on youtube guys, no one you are the best teacher so far on youtube

olansean
Автор

I just got to say ... simple and clear! thank you!

neenus
Автор

Awesome tutorial, thank you so much. I understood animation a ton more with this video.

unfairracing
Автор

Really good tutorial. I added it to 2 places on my websites within 5 minutes. Thank you

muldoon
Автор

Its really wonderful tutorial please upload more creative css animations.... I'm really happy to Learn here....

naveennagar
Автор

Such an effective tutorial. Thank you!

djlee
Автор

thanks this is exactly what I was looking for!

natoshisakamoto
Автор

Brother You Are Making Such a Great Content :)

abdulmoeez
Автор

Man you really have some great contents. Subbed!

GeorgeLathem
Автор

You're videos are amazing, thank you very much!!

JonoDeKock
Автор

Great tutorial! Keep em up! Could you maybe do some JQuery tutorials Like some animations on scroll?

TheFallinforyou
Автор

@Arjun Khara
I want to add 2 @keyframes animate on different things on a same page. I try my best but only one keyframe work on a single page
PLEASE

mrgk
Автор

what is the code editor you are using? and what is the name of the theme? great video btw!! keep up

mondirhallouli
Автор

pls how do i bring the arrow down the page to the bottom? i used top:90% and it didnt work

Levi_karl