码迷,mamicode.com
首页 > Web开发 > 详细

基于9款CSS3鼠标悬停相册预览特效

时间:2015-06-17 15:08:40      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:

基于9款CSS3鼠标悬停相册预览特效里面包含九款不同方式的相册展开特效代码。效果图如下:

技术分享

在线预览    源码下载

实现的代码。

html代码:

 <div class="albums">
        <div class="albums-inner">
            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-1">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                    <img src="images/studio_0001.jpg" class="all studio" />
                </div>
                <div class="albums-tab-text">.sim-anim-1 <span>(7 pictures)</span></div>
            </div>

            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-2">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0010.jpg" class="all studio" />

                </div>
                <div class="albums-tab-text">.sim-anim-2 <span>(5 pictures)</span></div>
            </div>


            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-3">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                    <img src="images/studio_0007.jpg" class="all studio" />
                    <img src="images/studio_0008.jpg" class="all studio" />
                    <img src="images/studio_0011.jpg" class="all studio" />

                </div>
                <div class="albums-tab-text">.sim-anim-3 <span>(9 pictures)</span></div>
            </div>


            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-4">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                    <img src="images/studio_0007.jpg" class="all studio" />
                    <img src="images/studio_0008.jpg" class="all studio" />
                    <img src="images/studio_0009.jpg" class="all studio" />

                </div>
                <div class="albums-tab-text">.sim-anim-4 <span>(9 pictures)</span></div>
            </div>

            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-5">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />

                </div>
                <div class="albums-tab-text">.sim-anim-5 <span>(5 pictures)</span></div>
            </div>


            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-6">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0009.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                    <img src="images/studio_0007.jpg" class="all studio" />
                    <img src="images/studio_0008.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                </div>
                <div class="albums-tab-text">.sim-anim-6 <span>(9 pictures)</span></div>
            </div>


            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-7">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />

                </div>
                <div class="albums-tab-text">.sim-anim-7 <span>(4 pictures)</span></div>
            </div>

            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-8">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0009.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                    <img src="images/studio_0007.jpg" class="all studio" />
                    <img src="images/studio_0008.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                </div>
                <div class="albums-tab-text">.sim-anim-8 <span>(9 pictures)</span></div>
            </div>

            <div class="albums-tab">
                <div class="albums-tab-thumb sim-anim-9">
                    <img src="images/studio_0001.jpg" class="all studio" />
                    <img src="images/studio_0002.jpg" class="all studio" />
                    <img src="images/studio_0003.jpg" class="all studio" />
                    <img src="images/studio_0004.jpg" class="all studio" />
                    <img src="images/studio_0005.jpg" class="all studio" />
                    <img src="images/studio_0009.jpg" class="all studio" />
                    <img src="images/studio_0007.jpg" class="all studio" />
                    <img src="images/studio_0008.jpg" class="all studio" />
                    <img src="images/studio_0006.jpg" class="all studio" />
                </div>
                <div class="albums-tab-text">.sim-anim-9 <span>(9 pictures)</span></div>
            </div>


        </div>

    </div>

via:http://www.w2bc.com/Article/43855

基于9款CSS3鼠标悬停相册预览特效

标签:

原文地址:http://www.cnblogs.com/liaohuolin/p/4583069.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!