css - Overflow is not working on hover -
i want place image, title, text in particular box , box rounded. box has background color opacity rgba color. when box hovered overflow not working. have following html structure:
<article id="post-181" class="post-181 post type-post status-publish format-standard hentry category-uncategorized"> <header class="entry-header"> <h2 class="entry-title"><a href="#">a paradisematic country</a></h2> <div class="post-info"> <p>posted <a href="#">admin</a> on april 25, 2013</p> </div> </header> <div class="entry-content"> <img width="270" height="208" src="http://roi.me/files/google-vs.-bing.jpg" class="alignright wp-post-image" alt="logos mini"> </div><!-- .entry-content --> </article>
and css :
.post { margin-top: 20px; margin-left: 20px; width: 270px; height: 270px; margin-right: 30px; background: rgba(49, 187, 183, 0.5); border-radius: 50%; cursor: pointer; overflow: hidden; position: relative; -webkit-transition: .5s ease background; } .post .entry-content img { position: absolute; top: 0; left: 0; min-height: 270px; min-width: 270px; margin: 0; z-index: -100; border: 1px solid red; } .post:hover { background: rgba(49, 187, 183, 1); }
i uploaded jsfiddle:
note: have tried firefox , chrome. firefox shows chrome cannot!
please me. in advance.
take on tutorial:
hover , click trigger circular elements jquery
here demo
however, you'll have use jquery make work.
hope helps
edit
if don't want use jquery, take on tutorial:
circle hover effects css transitions
see demo.
that way don't need jquery or js, css3 transitions.
now think want.
let me know if worked.
Comments
Post a Comment