Note that there are some explanatory texts on larger screens.

plurals
  1. POZoom image using css
    primarykey
    data
    text
    <p>I am trying to zoom image on mouseover.</p> <p>I am getting the zoom effect but image should zoom within that "list" tag not out of that "list".<br/> What should I do to get zoom effect like pop up.</p> <p><strong>Edit</strong>: I have applied css to list to make it horizontal like: <br/></p> <p><code>image1 image2 image3 .....</code> in ul and li tag.</p> <p>I have tried following code.</p> <pre><code>&lt;div class="mytest" id="slideshow-carousel" style="padding-top:12px;padding-left: 33px;"&gt; &lt;ul id="carousel" class="jcarousel jcarousel-skin-tango"&gt; &lt;li&gt; &lt;a href="#" rel="p1" class="thumbnail_img"&gt; &lt;img src="image.jpg " width="55" height="60" alt="#"/&gt; &lt;span&gt;&lt;img src="image.jpg" style="height:100px; width:100px" /&gt;&lt;/span&gt; &lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#" rel="p1" class="thumbnail_img"&gt; &lt;img src=" " width="55" height="60" alt="#"/&gt; &lt;span&gt;&lt;img src="" style="height:100px; width:100px" /&gt;&lt;/span&gt; &lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p><strong>Css:</strong></p> <pre><code>.thumbnail_img { position: relative; z-index: 0; /*right:420px;*/ } .thumbnail_img:hover { background-color: transparent; z-index: 100; } .thumbnail_img span img { display: inline-block; margin:-13px 17px 2px -13px; } .thumbnail_img span { position: absolute; visibility: hidden; color: black; text-decoration: none; -webkit-transform:scale(0.8); -moz-transform:scale(0.8); -o-transform:scale(0.8); -webkit-transition-duration: 0.5s; -moz-transition-duration: 0.5s; -o-transition-duration: 0.5s; opacity: 0.7; } .thumbnail_img:hover span { /*CSS for enlarged image on hover*/ visibility: visible; background: transparent; top: 0px; left:5px; -webkit-transform:scale(1.2); -moz-transform:scale(1.2); -o-transform:scale(1.2); opacity: 3; height:auto; width:auto; border:0; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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