+ 1

Error? Why? Почему?

div .tl { width: 50px; height: 50px; background: #32CD32; transition: width 3s; -webkit-transition: width 3s; } div .tl:hover { width: 250px; } div .lt { width: 250px; height: 50px; background: #32CD32; transition: width 3s; -webkit-transition: width 3s; } div .lt:hover { width: 50px; }

13th Aug 2021, 5:24 PM
Александр Кузнецов
Александр Кузнецов - avatar
5 Respuestas
+ 1
I think it should be "width" as string in the transition, but I can't test it with only knowing the css
13th Aug 2021, 5:33 PM
Lisa
Lisa - avatar
+ 1
Thanks, Lisa.
13th Aug 2021, 10:52 PM
Александр Кузнецов
Александр Кузнецов - avatar
+ 1
Class inheritance, not enough knowledge to get around.
18th Aug 2021, 3:35 AM
Александр Кузнецов
Александр Кузнецов - avatar
+ 1
There is no code, that is, this piece is just experimental and will not be used anywhere. Although, if you modify it a little, you can make a pull-out menu.
20th Aug 2021, 4:16 AM
Александр Кузнецов
Александр Кузнецов - avatar
0
Class inheritance? Do you mean CSS or are you talking about something else? Please show your code and explain what you attempt to do!
18th Aug 2021, 7:15 AM
Lisa
Lisa - avatar