What does (~) mean in CSS

walido

New Member
I want to know what does (~) mean in css. \[code\]#img1:hover ~ #img2 { opacity: 0;}\[/code\]In visual studio, i get 'unexpected character sequence' error when i use this symbol. what is the actual meaning of this in CSS. what does it do?
 
Back
Top