Sorry if I'm duplicating, but I really stock in one point and every possible solution about which I've red right here and also google it, failed me.
I want to achieve that when div is hovering, all background is fading. By all background - I mean everything on site beside the hovering div which should appear on the top. When div is hovering out, all background should go back to be clear.
Maybe it's simple way to achieve that, but believe me - so far nothing works as I want.. So please - help me :)
<body>
<div class="block1">
<div id="text">
one
</div>
</div>
<div class="block">
<div id="text">
two
</div>
</div>
</body>
Attaching the JSFiddle: https://jsfiddle.net/ryfgwswo/1/
Aucun commentaire:
Enregistrer un commentaire