Css3 hover menu -
is possible hover image , visible other css element such menu links:
<div class="carousel"> <div class="row" style="margin-top:60px;"> <div class="col-md-6 col-sm-6 col-xs-7 text-left" > <div class="logo"></div> </div> <div class="col-md-5 col-sm-5 col-xs-4 text-right" id="mymenu" style="padding-right:80px;"> <a href="#" class="m">home</a> <span class="d">|</span> <a href="#" class="m">about</a> <span class="d">|</span> <a href="#" class="m">contact</a> <a href="#" class="m"> </a> </div> <div class="col-md-1" id="myimg"> <img src="images/menu.jpg"> </div> </div> ...]
once hover image (menu.jpg) want visible menu links (home contact etc.) gradually left drawer. use bootsrap. css code is:
#mymenu a.m, .d { font-size:22px; font-weight:bold; color:#000; display:none; } .carousel #myimg img:hover > .carousel #mymenu a.m{ display:block; }
any ideas ?
thanks in advance.
Comments
Post a Comment