zoukankan      html  css  js  c++  java
  • 滤镜模糊效果,利用了文字阴影和透明。其实是抄的iSlider官网的

    <!DOCTYPE html>
    <html>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>css3效果</title>
    <style>
    table{width: 500px; border-collapse: collapse; border:1px solid #ccc;}
    table tr td{ height: 24px;border:1px solid #ccc; transition: all 300ms; background: rgb(250,250,250)}
    tbody:hover td {
        color: transparent;
        text-shadow: 0 0 3px #aaa;
    }
    tbody:hover tr:hover td {
        color: #444;
        text-shadow: 0 1px 0 #fff;
    }
    </style>
    <body>
    <table>
        <tbody>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
            <tr>
                <td>000</td><td>1111</td>
            </tr>
        </tbody>
    </table>
    </body>
    </html>

     效果图如下:鼠标移到哪一行,哪一行就清楚,其他的好像有一层毛玻璃遮住一样的效果

  • 相关阅读:
    SQL 联合语句
    Strust2MVC
    struts2执行流程
    struts2的验证框架
    poj 1201 Intervals
    FZOJ Problem 2219 StarCraft
    poj 3470 Walls
    hdu 6021 MG loves string
    FZOJ Problem 2150 Fire Game
    FZOJ Problem 2148 Moon Game
  • 原文地址:https://www.cnblogs.com/busicu/p/4555161.html
Copyright © 2011-2022 走看看