首页 > 特效插件 > 图像特效 >  纯css打造鼠标移上去图片放大的相册效果正文

纯css打造鼠标移上去图片放大的相册效果

特效介绍
纯css图片放大特效
不用js代码,纯css打造鼠标移上去图片放大的相册效果,兼容各种主流浏览器。
使用方法

1、以下代码拷贝到head区域

<link rel="stylesheet" href='css/hoverbox.css' type="text/css" media="screen, projection" /> <!--[if lte IE 7]> <link rel="stylesheet" href='css/ie_fixes.css' type="text/css" media="screen, projection" /> <![endif]-->

2、把以下代码拷贝到你想引用的地方,并且替换图片和链接地址为你自己的

<ul class="hoverbox">
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
    <li>
        <a href="#">
            <img src="img/photo01.jpg" alt="description" />
            <img src="img/photo01.jpg" alt="description" class="preview" />
        </a>
    </li>
</ul>