When the mouse over the thumbnail image enlarge picture (pure CSS) _ Experience Exchange

Source: Internet
Author: User
It's funny, there's no technical content, I laughed.
No use to JS, pure CSS control.
The pop-up image does not "squeeze" the next container.
Test passed IE7 Firefox2.11. (Theory compatible IE6)
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <ptml xmlns=" http://www.w3.org/1999/xhtml "> <pead> <meta http-equiv=" Content-type "content=" text/html; Charset=utf-8 "/> &LT;TITLE&GT;WWW.JB51.NET Cloud Habitat Community Mouse over thumbnails zoom image </title> <style type=" Text/css "> <!--* {margin:0;padding:0;} Body {Font-family:verdana, Arial, Helvetica, Sans-serif; font-size:12px;} img {border:0} p {font-size:14px} #imgmove li {float:left; width:50px; height:40px; display:block; overflow:visible;*overflow:hidden; margin:0px 5px; border:3px #333 solid;position:relative;*position:static;} #imgmove img {position:absolute;left:0px;top:0px;clip:rect (0px 50px 40px 0px); z-index:0;*position:static;} #imgmove img:hover {position:relative left:-3px; top:-3px; border:3px #f00 solid; z-index:2 clip:rect (0px 137px 137px 0p x);} --> </style> </pead> <body> <p> This example is designed to show that when you slide the mouse over the thumbnail,Big picture. </p> <!--[if IE 6]><! [endif]--> <ul id= "Imgmove" > <li></li> <li></li> <li></li> </ul > <!--[if IE 6]><! [endif]--> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.