Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to change color of element when hovering over div

/*
to change the color of an element inside a div, 
specify what element you want to change 
when hovering over the div like this:
*/
.div:hover .element{ 
	color: red;
}
 
PREVIOUS NEXT
Tagged: #change #color #element #hovering #div
ADD COMMENT
Topic
Name
3+4 =