+ 1

How to modify an object style with a hover of other object in css

Like js: div1.onmouseover=function(){p1.style.color="red"}; Modify an attribute of p1 with an event of div1

4th Jul 2020, 7:10 AM
Frank Castro
Frank Castro - avatar
2 Respuestas
0
Thanks, but don't work :c I made tests, and this only work if a father object try to change any of its child objects
4th Jul 2020, 4:05 PM
Frank Castro
Frank Castro - avatar