屏幕适配And动画效果


 <html lang="en">
<head>
    <meta charset="UTF-8">
    <title>屏幕适配And动画效果</title>
    <link href="css/style.css" rel="stylesheet"/>
    <style>
        .no{
             margin-right: -200px;
            margin-top: 230px;
            width: 570px;
            height: 700px;
            background: url("images/phone.png" ) no-repeat;
            transition:all 2s ease-in-out;
        }
        body{
            width: 1295px;
            height: 1000px;
            background: url("images/bg.jpg") no-repeat;
        }
        .is{
            width: 650px;
            height: 500px;
            margin-left: 50px;
            margin-top: 190px;
            float: left;
            /*position:absolute;*/

        }

        p{
            font-size: 32px;
            color: #fff;
        }
        span{
            font-size: 14px;
            color: #fff;
        }
        .down{
            margin-top: 100px;
            margin-left: -10px;
            width: 280px;
            height:70px;
            background:url("images/003.png") no-repeat;
            transition:all 2s ease-in-out;
        }
        .down:hover{
            background:url("images/001.png") no-repeat;
        }

        .lll{
            font-size: 60px;
            color: #fff;
        }
        .lll:hover{
            font-size: 75px;
            color:red;
        }
        .xuanzhuan{
            display: block;
            text-align: center;
            /*-webkit-transition:all 2s ease-in-out;*/
            /*-moz-transition:all 2s ease-in-out;*/
            /*-o-transition:all 2s ease-in-out;*/
            /*-ms-transition:all 2s ease-in-out;*/
            transition:all 2s ease-in-out;
        }
        .xuanzhuan:hover{
            /*-webkit-transform:rotate(360deg) scale(1,1);*/
            /*-moz-transform:rotate(360deg) scale(1,1);*/
            /*-o-transform:rotate(360deg) scale(1,1);*/
            /*-ms-transform:rotate(360deg) scale(1,1);*/
            transform:rotate(360deg) scale(1,1);
        }

        .no:hover{
            transform:rotate(45deg) scale(1,1);
        }

        @media screen and (max-width: 600px){
            .is{
                width: 100%;

            }
            .no{
                width: 100%;
                float: left;
            }
        }

    </style>
</head>

<body>
    <div class="da">
        <div class="is">
            <a class="lll">Blue App Template</a><br><br><br><br>
            <p class="xuanzhuan">One page Responsive HTML5 parallax business landing page</p>
            <br><br><br><br><br><br><br>
            <span>Lorem ipsum dolor sit amet,
                 consectetur adipisicing elit. Similique autem,
                 atque in voluptatibus repellat nostrum iusto
                 architecto vel placeat numquam omnis assumenda.</span>
                <div class="down"></div>
        </div>

        <div class="no" >
        </div>
    </div>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值