js+css模仿淘宝电商网站商品评论图片点击放大缩小效果代码

代码语言:html

所属分类:图片放大

代码描述:js+css模仿淘宝电商网站商品评论图片点击放大缩小效果代码

代码标签: 电商 网站 商品 评论 图片 点击 放大 缩小 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <style>
        * {
            padding: 0;
            margin: 0;
            font-style: normal;
            font-family: 'siyuan','黑体'
        }
        dd,dl,dt,em,i,p,textarea,a,div {
            padding: 0;
            margin: 0;
        }
        a {
            text-decoration: none;
            color: #404040
        }
        img {
            border: 0;
        }
        ul,li {
            padding: 0;
            margin: 0;
            list-style: none;
        }


        .pltop {
            width: 800px;
            margin: 10px auto 0px auto;
            background: #EFEFEF;
            border: 1px #c8c8c8 solid;
            height: 24px;
            line-height: 24px;
            font-size: 14px;
            padding: 5px 10px;
        }

        .pinln {
            width: 800px;
            border-bottom: 1px #e3e3e3 solid;
            margin: 10px auto;
            display: flex;
            justify-content: space-between;
            align-items: center
        }
        .pinln .xinx {
            width: 530px;
        }
        .pinln .xinx .text {
            font-size: 14px;
            width: 100%
        }
        .pinln .xinx .time {
            font-size: 14px;
            color: #999
        }
        .pinln .fenlei,.pinln .name.........完整代码请登录后点击上方下载按钮下载查看

网友评论0