css布局实现一台笔记本电脑效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现一台笔记本电脑效果代码

代码标签: 一台 笔记本 电脑 效果

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

<html>
<head>
    <style>
        * html .clearfix {
            zoom: 1;
        }

        /* IE6 */
        *:first-child + html .clearfix {
            zoom: 1;
        }

        /* IE7 */
        .clearfix:before,
        .clearfix:after {
            content: "";
            display: table;
        }

        .clearfix:after {
            clear: both;
        }

        .clearfix {
            zoom: 1;
            /* For IE 6/7 (trigger hasLayout) */
        }

        * {
            margin: 0;
            padding: 0;
            border: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
        }

        a, a:hover, a:focus, a:active {
            text-decoration: none !important;
            outline: none;
        }

        .npd {
            padding: 0;
        }

        ul, li {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        a:hover {
            opacity: 0.7;
            color: white;
        }

        body {
            font-size: 14px;
            color: black;
        }

        .clear {
            clear: both;
        }

        img {
            max-width: 100%;
        }

        h1, h2, h3, h4 {
            padding: 0;
            margin: 0;
        }

        .wrap {
            width: 100%;
            height: 100vh;
            position: relative;
            background-color: #22262b;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .comp {
            width: 100%;
            height: 194px;
            text-align: center;
        }
        .comp .monitor {
            width: 275px;
            height: 181px;
            display: block;
            margin: 0 auto;
            border-radius: 10px 10px 0px 0px;.........完整代码请登录后点击上方下载按钮下载查看

网友评论0