截图的一种思路

2015-02-21 0 351
截图的一种思路
<!DOCTYPE html>
<html>

<head>
    <style>
        .container {
            position: absolute;
            background-color: #dddddd;
            width: 600px;
            height: 200px;
            overflow: hidden;
        }

        .shadow {
            position: absolute;
            left: 50px;
            top: 50px;
            width: 300px;
            height: 100px;
            background-color: yellow;
            box-shadow: 0 0 0 500px rgba(0, 0, 0, 0.2);
            ;
        }
    </style>
</head>

<body>

    <div class="container">
        asdfasdfasdfasf
        <div class="shadow"></div>
    </div>

</body>

</html>

遇见资源网 html 截图的一种思路 http://www.ox520.com/14026.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务