Note that there are some explanatory texts on larger screens.

plurals
  1. POOverflow is not working on hover
    text
    copied!<p>I want to place a image, title, some text in particular box and that box will be rounded. The box has background color with opacity by RGBA color. When the box is hovered then overflow is not working. I have following html structure:</p> <pre><code>&lt;article id="post-181" class="post-181 post type-post status-publish format-standard hentry category-uncategorized"&gt; &lt;header class="entry-header"&gt; &lt;h2 class="entry-title"&gt;&lt;a href="#"&gt;A PARADISEMATIC COUNTRY&lt;/a&gt;&lt;/h2&gt; &lt;div class="post-info"&gt; &lt;p&gt;Posted by &lt;a href="#"&gt;admin&lt;/a&gt; on April 25, 2013&lt;/p&gt; &lt;/div&gt; &lt;/header&gt; &lt;div class="entry-content"&gt; &lt;img width="270" height="208" src="http://roi.me/files/google-vs.-bing.jpg" class="alignright wp-post-image" alt="logos mini"&gt; &lt;/div&gt;&lt;!-- .entry-content --&gt; &lt;/article&gt; </code></pre> <p>and css is :</p> <pre><code>.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); } </code></pre> <p>I already uploaded to jsfiddle:</p> <p><a href="http://jsfiddle.net/itskawsar/42yPY/3/" rel="nofollow"><strong>Demo fiddle</strong></a></p> <p><strong>Note:</strong> i have tried with firefox and chrome. Firefox shows good but chrome cannot!</p> <p>Please help me. Thanks in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload