HTML百度首页

<title>无标题文档</title>
<style>
.img{
width:270px;
height:129px;
}
.haha{
width:500px;
height:30px;
margin-top:50px;
position:relative;/*相对定位*/
}
.input{
width:300px;
height:30px;
border:1 solid blue;
}
.a{
width:80px;
height:35px;
background-color:blue;
color:#fff;
text-decoration:none;
}
.photo{
position: absolute;/*绝对定位*/
margin-top:9px;
margin-left:-30px;
width:24px;height:24px;
background:url(haha.png) no-repeat;
}
.input:hover{
transform:scale(1.5);
}
.a:hover{
transform:scale(1.2);
color:red;
}
.photo:hover{
transform:scale(1.2);
}


img{
width:100px;
height:100px;
}
#first{
width:600px;
margin-top:100px;
}
#first:hover{
transform:rotate(360deg);
transition:2s;
}
#first .img1:hover{
transform:rotate(360deg);
transition:1s;
}
#qingxie:hover{
transform:skew(-50deg);
}
</style>
</head>


<body>
<center>
    <img class="img" src="logo.png"/><br />
        <div class="haha">
            <input class="input" />
            <span class="photo"></span>
            <button href="#" class="a">百度一下</button>
        </div>
        
        <div id="first">
        <img src="Camera Roll/weijuchiluntu.jpg" class="img1" />
            <img src="Camera Roll/banquantupian801.png" />
            <img src="Camera Roll/bizhi112.png" />
            <img src="Camera Roll/duoroubanqq.jpg" />
            <img src="Camera Roll/fengjingxiaotu.jpg" />
        </div>
        
        <div id="second">
        <img src="Camera Roll/weijuchiluntu.jpg" id="qingxie"/>
            <img src="Camera Roll/banquantupian801.png" />
            <img src="Camera Roll/bizhi112.png" />
            <img src="Camera Roll/duoroubanqq.jpg" />
            <img src="Camera Roll/fengjingxiaotu.jpg" />
        </div>
    </center>
</body>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值