html - CSS Effect add as Active Effect -
html - CSS Effect add as Active Effect -
i have next html:
<div class="mon-img hovicon effect-1 sub-a mon-active"> <img class="icon-active" src="http://placehold.it/125x125&text=blood" width="100px" data-info="blood" /> </div>
the mon-active
add together hover effect utilize div when hovered. however, when mon-active
added create div , hovered again, somehow bouncing, wanted move thing away, have been gone through many css changes , yet cannot create hovered.
here js fiddle
what want create hovered , placement should still same.
i don't know how create happen.
i cant comment i'm gonna post recent problem moving circles
updated fiddle
added padding css create circle stable. css:
.mon-img { float: none; display: inline-block; margin: 0 auto; padding:7px; /* added code */ } .hovicon.effect-1.sub-a:hover { background: rgba(72, 195, 245, 1); color: #41ab6b; padding: 7px; /* added code */ } .mon-active:hover { box-shadow: initial; box-sizing: initial; background: #009ddb; padding: 7px; /* added code */ }
html css
Comments
Post a Comment