Web | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Web

Hi guys when i try animation property and @keyframes to change the width of a div with some text in it the overflow element wouldn’t work properly Can anyone help?

11th Feb 2019, 6:30 PM
Farid
5 Answers
+ 5
Can u post ur code here Farid ?? It will make it much easier for us to help you.
11th Feb 2019, 10:52 PM
Arushi Singhania
Arushi Singhania - avatar
+ 3
Farid The reason for that is IE and Firefox require webkit and moz suffixes before keyframes to work. You can see the use of webkit in this code: https://code.sololearn.com/Wr0F4z43KA1v/?ref=app
12th Feb 2019, 1:53 PM
Arushi Singhania
Arushi Singhania - avatar
0
https://code.sololearn.com/W5OJpPfIhBEZ/?ref=app
12th Feb 2019, 1:50 PM
Farid
0
i must notice that it works properly here but not in IE or firefox
12th Feb 2019, 1:51 PM
Farid
0
overflow is supported by both and animation works even without vender prefix
12th Feb 2019, 1:55 PM
Farid