Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
Comment

PREVIOUS NEXT
Code Example
Css :: media query for mobile landscape only 
Css :: css border color 
Css :: nth child css tricks 
Css :: css scrollbar always visible 
Css :: html align svg to text 
Css :: css linear gradient 
Css :: css blur gradient 
Css :: image rotate with css 
Css :: scrollbar height css 
Css :: table font size 
Css :: css nth element 
Css :: how to push text to the right css 
Css :: css dot dot dot 
Css :: how to horizontal center a div in css 
Css :: select2 hide selected options 
Css :: expo vector icons install 
Css :: font. to be thinner css 
Css :: hide overflow but still scroll 
Css :: css white-space 
Css :: inner border css 
Css :: scss linear gradient not working 
Css :: css border only top and bottom 
Css :: change input placeholder text css 
Css :: css how to change font colr 
Css :: css hover but no click 
Css :: text-align property in css 
Css :: change default arrow icon for accordion in bootstrap 
Css :: css hide mark border 
Css :: how to center with position fixed 
Css :: css flip animation 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =