How do i write @keyframes using from and to when multiple line is involved | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i write @keyframes using from and to when multiple line is involved

@keframes example{ 0% {background-color: red;} 30% {background-color: grape;} 60% {background-color: blue;} 100% {background-color: #ffff56;} Form {background-color: red;} ??? {background-color: grape;} ??? {background-color: blue;} To {background-color: #ffff56;} } Pls help

17th Apr 2019, 5:34 PM
OLOGUNORE SHINA SAMUEL
2 Answers
+ 7
'From' is the same as 0% and 'To' is the same as 100%
17th Apr 2019, 6:06 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 6
from{color:#fff;} 10%{color:#bbb;} to{color:#000;} you can use any percentage (between 0 and 100 )between the "from" and "to"😁 Good Luck
17th Apr 2019, 11:22 PM
I‘m Sarah🌹
I‘m Sarah🌹 - avatar