reflection倒影

倒影插件:reflection.js

点击看效果demo

DEMO如下

<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery-实现图片投影效果的js插件</title>
<style type="text/css">
    .zxx_add_class{
        margin:0 auto;
    }
    .out_box{
        width: 70%;
        min-width: 700px;
        margin: 0 auto;
    }
    .in_box{
        min-height: 300px;
        height: 300;
        background: white;
        padding: 1em 2.5em 0;
    }
    .icon{
        padding: 0 20px 20px;
    }
</style>
<script type="text/javascript" src="../js/reflection.js"></script>
</head>

<body>
	<div class="out_box">
    	<div class="in_box">
            <div class="icon">
            	<img class="reflect" src="../../pic&wordLineInMiddle/images/img4.jpg" />
			</div>
        </div>
    </div>
	<script type="text/javascript">

    </script>
</body>
</html>

  效果图如下

posted @ 2017-12-05 14:42  柠檬张先生  阅读(447)  评论(0编辑  收藏  举报