1
I would like to give :Hover on button "2" mundaning the effect on button "1"
<div class="btn um">1</div>
<div class="btn dois">2</div>
<div class="btn tres">3</div>
example:
.um:hover ~ .dois {} (isto funciona)
.dois:hover ~ .um {} ( porem isto não funciona)
I wonder if you have how to make a Hover effect on a previous element
I can not (for now), but have in the specification of the "level 4 selectors" of css. For now, only using Javascript.
– Renan Gomes
Probably you have to use Jquery, apparently by the logic of your problem you could use an NG-class of ANGULARJS, I suggest you a searched in the angular friend, it is of extreme value, and it facilitates MUCH. (instead of having to stay using Jquery) , as far as I know it seems possible for your request by ng-class
– eeerrrttt
If there is
:hover
in "1" which shall have effect? and if:hover
in "3" which shall have an effect?– Sergio