HTML:百度首页

	<head>
		<meta charset="utf-8" />
		<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(images/haha.png) no-repeat;
			}
			
			.input:hover {
				transform: scale(1.5);
			}
			
			.a:hover {
				transform: scale(1.2);
				color: red;
			}
			
			.photo:hover {
				transform: scale(1.2);
			}
			.qingxie:hover {
				transform: skew(50deg);
			}
			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;
			}
			
			#second .img2:hover {
				transform: rotate(-360deg);
				transition: 1s;
			}
			
			#bianda:hover {
				transform: scale(1.5);
			}
			/*#second:hover{
transform:rotate(-360deg);
transition:2s;
}*/
			
			#qingxie:hover {
				transform: skew(-50deg);
			}
			
		</style>
	</head>

	<body style="background:url(images/bj.jpg) no-repeat; background-size:cover">
		<center>
			<img class="img" src="img/bd_logo1.png" /><br />
			<div class="haha">
				<input class="input" />
				<span class="photo"></span>
				<button href="#" class="a">百度一下</button>
			</div>

			<div id="first">
				<img src="images/999_07.jpg" class="img1" />
				<img src="images/999_09.jpg" />
				<img src="images/999_11.jpg" />
				<img src="images/999_13.jpg" />
				<img src="images/999_15.jpg"  class="qingxie"/>
			</div>

			<div id="second">
				<img src="images/999_17.jpg" class="img2" />
				<img src="images/999_22.jpg" />
				<img src="images/999_23.jpg" id="bianda" />
				<img src="images/999_24.jpg" />
				<img src="images/999_25.jpg" id="qingxie" />
			</div>
		</center>
	</body>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值