zoukankan      html  css  js  c++  java
  • 前端样式搭配套餐opacity: 0; visibility: hidden; transform: scale(0); transition: all .6s;

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=\, initial-scale=1.0">
        <title>Document</title>
        <style>
     .productBox li{position: relative;  300px; height: 300px;}
    .productBox li .mask{ 100%; height: 100%; background: rgba(255,0,0,.9);
     position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; transform: scale(0); transition: all .6s;}
     .productBox li .pic:hover .mask{opacity:2; visibility: visible; transform: scale(1);}
    .name{color: #fff; font-size: 15px; margin-top: 14px; max-height: 189px; overflow: hidden;}
        </style>
    </head>
    <body>
        <div class="productBox">
            <ul class="clearfix">
                <li class="wow fadeInUp">
                    <div class="item">
                        <div class="pic">
                            <a href="">
                                <img src="./imgs/dg10.jpg" alt="" style=" 300px; height: 300px;">
                                <div class="mask">
                                    <div class="line"></div>
                                    <div class="name">
                                        "hfsdfghs"
                                    </div>
                                </div>
                            </a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </body>
    </html>
  • 相关阅读:
    触发器
    数据库一键退出脚本
    集合
    Android 自定义控件之继承ViewGroup创建新容器
    web学习测试环境
    ref:ubuntu下如何批量修改文件后缀名
    ref:Adding AFL Bloom Filter to Domato for Fun
    ref:phpstorm配置远程调试(xdebug)(docker中)
    ref:PHP反序列化漏洞成因及漏洞挖掘技巧与案例
    ref:【干货分享】PHP漏洞挖掘——进阶篇
  • 原文地址:https://www.cnblogs.com/lvqiupingboke-2019/p/12921762.html
Copyright © 2011-2022 走看看