JavaWEB作业 用CSS制作高仿QQ空间
效果:
代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>STAREXILE的空间</title>
<style type="text/css">
*{
padding: 0;
margin: 0;
list-style: none;
}
body{
background-image: url("img/5.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
}
a{
text-decoration: none;
}
/*上方固定黑框导航*/
#Top{
height: 50px;
width: 100%;
background-color: black;
color: white;
display: flex;
justify-content: space-around;
align-items: center;
position: fixed;
z-index: 100;
}
#Top> li {
float: left;
height: 50px;
width: 150px;
text-align: center;
line-height: 50px;
}
#Top li:hover{
cursor: pointer;
}
#Top-zb li{
visibility: hidden;
}
#Top-zb li{
width: 130px;
height: 50px;
background-color: white;
color: black;
text-align: center;
line-height: 50px;
font-family: 微软雅黑;
}
#Top-zb:hover>li{
visibility: visible;
}
#Top-zb li:hover{
background-color: rgba(0,0,0,0.5);
transition: font-size 0.5s;
font-size: 15px;
color: white;
}
/*顶部*/
.TopElement{
width: 65%;
margin-left: 17.5%;
}
/*顶部空白框*/
#TopBlank{
height: 120px;
}
/*顶部昵称*/
#TopName{
font-size: 55px;
font-family: 微软雅黑;
color: darkslateblue;
margin-bottom: 5px;
}
/*顶部签名*/
#TopSignature{
font-family: 微软雅黑;
color: darkslateblue;
margin-bottom: 20px;
}
/*顶部信息块*/
#TopInfor{
height: 160px;
float: left;
position: relative;
}
/*头像部分*/
#Myphoto{
height: 120px;
width: 120px;
border-style: solid;
border-color: white;
border-radius: 3px;
border-width: 2px;
background-image: url("img/头像.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
}
#Myphoto:hover{
cursor: pointer;
}
#Changephoto{
height: 20px;
width: 120px;
margin-top: 125px;
overflow: hidden;
color: white;
background-color: rgba(0,0,0,0.3);
text-align: center;
visibility: hidden;
}
#Myphoto:hover>#Changephoto{
margin-top: 100px;
visibility: visible;
}
#Myname{
height: 45px;
width: 40%;
color: darkslateblue;
font-family: 微软雅黑;
font-size: 25px;
margin-left: 15px;
position: absolute;
top: 20px;
left: 140px;
display: inline;
}
/*黄钻VIP信息*/
#VIPInfor{
height: 75px;
width: 40%;
position: absolute;
left: 140px;
top: 45px;
}
#VIP-age{
background-image: url("img/7.png");
margin-top: 20px;
margin-left: 10px;
width: 96px;
height: 96px;
background-size: 50% 50%;
background-repeat: no-repeat;
}
#VIP-age:hover{
cursor: pointer;
}
#VIP-age-grow{
font-family: 微软雅黑;
font-size: 10px;
position: absolute;
left: 70px;
top: 32px;
color: darkslateblue;
}
#VIP-age-grow-down{
background-image: url("img/9.png");
background-size: 50% 50%;
background-repeat: no-repeat;
width: 368px;
height: 28px;
position: absolute;
left: 70px;
top: 55px;
}
#VIP-buy{
position: absolute;
left: 280px;
top: 35px;
width: 75px;
height: 35px;
background-color: #ffcc00;
color: #990033;
font-size: 12px;
font-family: 微软雅黑;
line-height: 35px;
text-align: center;
border: 1px #990033 solid;
border-radius: 5px;
}
#VIP-buy:hover{
cursor: pointer;
font-size: 13px;
transition: font-size 0.5s;
}
/*天气信息*/
#Weather{
height: 100px;
position: absolute;
left: 860px;
top: 60px;
float: left;
}
#weather-pic{
position: absolute;
top: -15px;
right: 60px;
width: 80px;
height: 80px;
background-image: url("img/8.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
#weather-temp{
color: darkslateblue;
font-size: 40px;
font-family: 微软雅黑;
height: 100px;
}
#weather-city{
color: darkslateblue;
font-size: 20px;
font-family: 微软雅黑;
float: left;
position: absolute;
left: 62px;
top: 5px;
width: 60px;
}
#weather-city:hover{
cursor: pointer;
}
#weather-date{
color: darkslateblue;
font-size: 17px;
font-family: 微软雅黑;
position: absolute;
left: 60px;
top:35px;
width: 100px;
}
/*导航菜单部分*/
#Navgation{
margin-top: 20px;
width: 45%;
margin-left: 27.5%;
display: flex;
justify-content: space-around;
align-items: center;
}
.btn{
border: none;
width: 100px;
font-family: 微软雅黑;
font-size: 15px;
cursor: pointer;
}
/*大页面框*/
#PAGE{
width: 75%;
height: 1050px;
margin-left: 12.5%;
margin-top: 15px;
float: left;
position: relative;
}
/*大页面左*/
#PageLeft{
width: 140px;
height: 900px;
}
/*大页面左下1:菜单*/
#Menu{
width: 100%;
height: 280px;
background-color: white;
border: 1px darkslateblue solid;
}
.menu{
color: black;
width: 100%;
height: 40px;
font-size: 12px;
font-family: 微软雅黑;
text-align: center;
line-height: 40px;
}
.menu:hover{
background-color: aqua;
cursor: pointer;
}
#m1{
background-image: url("img/10.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#m2{
background-image: url("img/11.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#m3{
background-image: url("img/12.png"),url("img/17.png");
background-position: 10% center, 95% center;
background-repeat: no-repeat;
}
#m4{
background-image: url("img/13.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#m5{
background-image: url("img/14.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#m6{
background-image: url("img/15.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#m7{
background-image: url("img/16.png");
background-position: 10% center;
background-repeat: no-repeat;
}
/*大页面左下2:游戏*/
#Game{
width: 100%;
height: 600px;
margin-top: 15px;
background-color: white;
border: 1px darkslateblue solid;
}
.game{
width: 100%;
height: 40px;
font-size: 12px;
font-family: 微软雅黑;
text-align: center;
line-height: 40px;
}
.game:hover{
background-color: aqua;
cursor: pointer;
}
#g1{
background-image: url("img/29.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g2{
background-image: url("img/19.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g3{
background-image: url("img/20.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g4{
background-image: url("img/21.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g5{
background-image: url("img/22.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g6{
background-image: url("img/23.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g7{
background-image: url("img/24.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g8{
background-image: url("img/25.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g9{
background-image: url("img/26.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g10{
background-image: url("img/27.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g11{
background-image: url("img/28.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g12{
background-image: url("img/30.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g13{
background-image: url("img/31.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g14{
background-image: url("img/32.png");
background-position: 10% center;
background-repeat: no-repeat;
}
#g15{
background-image: url("img/33.png");
background-position: 10% center;
background-repeat: no-repeat;
}
/*大页面中部*/
#PageMiddle{
width: 550px;
height: 1000px;
float: left;
position: absolute;
left: 160px;
top: 0px;
}
/*大页面中部上方:搜索框*/
#Searchselect{
width: 100%;
height: 60px;
background-color: white;
border: darkslateblue 1px solid;
float: left;
}
#srch{
width: 70%;
height: 100%;
border: none;
}
.mp{
width: 10%;
height: 59px;
background-color: lightgray;
border: 1px cadetblue solid;
position: absolute;
}
#midpic1{
left:70%;
top:0px;
height: 60px;
background-image: url("img/34.png");
background-repeat: no-repeat;
background-position: center;
transition: all 0.5s;
}
#midpic2{
left:80%;
top:0px;
height: 60px;
background-image: url("img/35.png");
background-repeat: no-repeat;
background-position: center;
transition: all 0.5s;
}
#midpic3{
left:90%;
top:0px;
height: 60px;
background-image: url("img/36.png");
background-repeat: no-repeat;
background-position: center;
transition: all 0.5s;
}
#midpic1:hover{
cursor: pointer;
transform: scale(1.2);
background-color: aqua;
transition: all 0.7s;
z-index: 1;
}
#midpic2:hover{
cursor: pointer;
transform: scale(1.2);
background-color: aqua;
transition: all 0.7s;
z-index: 1;
}
#midpic3:hover {
cursor: pointer;
transform: scale(1.2);
background-color: aqua;
transition: all 0.7s;
z-index: 1;
}
/*大页面中部第二个框:全部动态*/
#AllDT{
position: absolute;
left: 0px;
top: 70px;
width: 540px;
height: 30px;
align-items: center;
line-height: 30px;
font-size: 10px;
font-family: 微软雅黑;
background-color: aqua;
border: darkslateblue 1px solid;
padding-left: 10px;
overflow: hidden;
}
#AllDT:hover{
cursor: pointer;
}
/*大页面中部第三个框:动态1*/
#dt1{
position: absolute;
left: 0px;
top: 115px;
width: 100%;
height: 573px;
background-color: white;
border: darkslateblue 1px solid;
border-radius: 7px;
}
#dt1-photo{
position: absolute;
left: 15px;
top: 12px;
background-position: center;
background-image: url("img/wyz.jpg");
background-size: 100% 100%;
width: 54px;
height: 54px;
background-repeat: no-repeat;
}
#dt1-photo:hover{
cursor: pointer;
}
#dt1-name{
position: absolute;
left: 87px;
top: 15px;
font-size: 16px;
font-family: 微软雅黑;
color: darkslateblue;
}
#dt1-name:hover{
cursor: pointer;
}
#dt1-date{
position: absolute;
left: 87px;
top: 50px;
font-size: 8px;
font-family: 微软雅黑;
color: darkslateblue;
}
#dt1-wenzi{
position: absolute;
left: 17px;
top: 80px;
font-size: 15px;
font-family: 微软雅黑;
}
#dt1-neirong{
position: absolute;
left: 17px;
top: 110px;
background-image: url("img/内容.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 490px;
height: 340px;
}
#dt1-neirong:hover{
cursor: pointer;
}
#dt1-llxx{
position: absolute;
left: 19px;
top: 470px;
font-size: 10px;
color: gray;
}
#dt1-zan{
position: absolute;
right: 110px;
top: 465px;
background-image: url("img/47.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 24px;
height: 24px;
transition: transform 0.5s;
}
#dt1-zan:hover{
transform: scale(1.1);
cursor: pointer;
transition: transform 0.5s;
}
#dt1-ping{
position: absolute;
right: 70px;
top: 465px;
background-image: url("img/44.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 24px;
height: 24px;
transition: transform 0.5s;
}
#dt1-ping:hover{
transform: scale(1.1);
cursor: pointer;
transition: transform 0.5s;
}
#dt1-zhuan{
position: absolute;
right: 30px;
top: 465px;
background-image: url("img/46.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 24px;
height: 24px;
transition: transform 0.5s;
}
#dt1-zhuan:hover{
transform: scale(1.1);
cursor: pointer;
transition: transform 0.5s;
}
#dt1-line{
background-color: gray;
width: 520px;
height: 1px;
position: absolute;
left: 15px;
top: 500px;
}
#dt1-zan2{
position: absolute;
left: 18px;
top: 510px;
background-image: url("img/47.png");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 20px;
height: 20px;
}
#dt1-dianzantouxiang{
position: absolute;
left: 45px;
top: 507px;
border: 0px black solid;
width: 400px;
height: 25px;
}
#p1{
width: 24px;
height: 24px;
background-image: url("img/头像.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
}
#p2{
width: 24px;
height: 24px;
margin-left: 5px;
background-image: url("img/xyb.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
left: 26px;
top: 0px;
}
#p3{
width: 24px;
height: 24px;
margin-left: 5px;
background-image: url("img/ly.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
left: 57px;
top: 0px;
}
#p4{
width: 24px;
height: 24px;
margin-left: 5px;
background-image: url("img/mdl.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
left: 87px;
top: 0px;
}
#p2:hover{
cursor: pointer;
}
#p3:hover{
cursor: pointer;
}
#p4:hover{
cursor: pointer;
}
#dt1-pl{
position: absolute;
left: 12px;
top: 540px;
width: 520px;
height: 17px;
}
/*大页面中部第四个框:动态2*/
#dt2{
position: absolute;
left: 0px;
top: 700px;
width: 100%;
height: 315px;
background-color: white;
border: darkslateblue 1px solid;
border-radius: 7px;
}
#dt2-1{
font-size: 15px;
font-family: 微软雅黑;
height: 35px;
width: 40px;
line-height: 30px;
text-align: center;
margin-top: 5px;
margin-left: 5px;
}
#dt2-2{
width: 40px;
height: 35px;
line-height: 35px;
text-align: center;
font-size: 15px;
font-family: 微软雅黑;
position: absolute;
top: 5px;
right: 13px;
}
#dt2-xuanxiang div{
visibility: hidden;
width: 30px;
height: 25px;
line-height: 25px;
text-align: center;
}
#dt2-xuanxiang:hover div{
visibility: visible;
background-color: white;
border: gray 2px solid;
font-size: 12px;
font-family: 微软雅黑;
width: 50px;
height: 30px;
}
#dt2-jubao{
border-bottom: none;
}
#dt2-xuanxiang:hover{
cursor: pointer;
}
#dt2-xuanxiang div:hover{
background-color: gray;
color: white;
font-size: 14px;
transition: font-size 0.5s;
cursor: pointer;
}
#dt2-line{
background-color: gray;
width: 551px;
height: 2px;
margin-left: -1px;
}
#dt2-ADpic{
width: 100%;
height: 250px;
background-image: url("img/dt2.png");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
}
#dt2-ADpic:hover{
cursor: pointer;
}
#dt2-line2{
width: 90%;
margin-left: 5%;
height: 1px;
background-color: rgba(0,0,0,0.4);
}
/*大页面右边*/
#PageRight{
width: 430px;
height: 900px;
position: absolute;
top: 0px;
left: 720px;
}
/*页面右上1:签到框*/
#Qiandao{
width: 430px;
height: 80px;
border: darkslateblue 1px solid;
}
#xingqi{
position: absolute;
left: 1px;
top: 1px;
background-color: aqua;
width: 120px;
height: 40px;
font-size: 20px;
font-family: 微软雅黑;
line-height: 40px;
text-align: center;
}
#riqi{
position: absolute;
left: 1px;
top: 41px;
background-color: aqua;
width: 120px;
height: 40px;
font-size: 15px;
font-family: 微软雅黑;
line-height: 40px;
text-align: center;
}
#qd{
position: absolute;
color: darkslateblue;
left: 120px;
top: 1px;
font-family: 微软雅黑;
font-size: 35px;
width: 200px;
height: 80px;
background-color: white;
line-height: 80px;
text-align: center;
transition: all 0.7s;
border-left: 1px darkslateblue solid;
border-right: 1px darkslateblue solid;
z-index: 1;
}
#qd:hover{
cursor: pointer;
font-size: 45px;
color: white;
background-color: aqua;
transition: all 0.7s;
}
#leiji{
background-color: aqua;
color: darkslateblue;
position: absolute;
left: 320px;
top: 1px;
width: 110px;
height: 40px;
font-size: 25px;
line-height: 40px;
text-align: center;
}
#days{
background-color: aqua;
color: darkslateblue;
position: absolute;
left: 320px;
top: 41px;
width: 110px;
height: 40px;
font-size: 22px;
line-height: 40px;
text-align: center;
}
/*页面右上2:广告*/
#AD{
position: absolute;
left: 0px;
top: 90px;
width: 100%;
height: 280px;
background-image: url("img/49.jpg");
background-size: 100% 100%;
background-repeat: no-repeat;
border: 1px darkslateblue solid;
background-position: center;
transition: background-size 0.5s;
}
#AD:hover{
cursor: pointer;
background-size: 115% 115%;
transition: background-size 0.5s;
}
#ADdetail{
margin-top: 320px;
height: 40px;
color: white;
overflow: hidden;
visibility: hidden;
background-color: rgba(0,0,0,0.3);
text-align: center;
line-height: 40px;
/*添加图片缩放效果动画*/
}
#AD:hover #ADdetail{
cursor: pointer;
visibility: visible;
margin-top: 240px;
}
/*页面右下角访问记录*/
#Record{
position: absolute;
left: 0px;
top: 380px;
width: 100%;
height: 615px;
background-color: white;
border: 1px darkslateblue solid;
border-radius: 5px;
}
/*访客记录第一部分:三个信息窗口*/
#fangwenxinxi{
width: 400px;
height: 30px;
}
#skgw{
font-size: 14px;
font-family: 微软雅黑;
width: 70px;
margin-left: 15px;
margin-top: 8px;
}
#skgw:hover{
cursor: pointer;
}
#wkgs{
font-size: 14px;
font-family: 微软雅黑;
width: 70px;
position: absolute;
left: 95px;
top: 8px;
}
#wkgs:hover{
cursor: pointer;
}
#bdfk{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
left: 175px;
top: 8px;
width: 70px;
}
#bdfk:hover{
cursor: pointer;
}
/*访客记录第二部分:黄钻广告*/
#VIPadvertise{
position: absolute;
left: 12px;
top: 35px;
background-color: aqua;
width: 400px;
height: 105px;
}
#VIPAD-line1{
margin-left: 10px;
margin-top: 5px;
font-size: 15px;
font-family: 微软雅黑;
color: darkslateblue;
}
#VIPAD-line2{
margin-left: 10px;
margin-top: 5px;
font-size: 15px;
font-family: 微软雅黑;
color: darkslateblue;
}
#VIPAD-line3{
background-color: #ffcc00;
color: #990033;
border: #990033 1px solid;
border-radius: 5px;
font-family: 微软雅黑;
font-size: 13px;
width: 75px;
height: 35px;
line-height: 35px;
text-align: center;
margin-top: 10px;
margin-left: 10px;
}
#VIPAD-line3:hover{
font-size: 14px;
transition: font-size 0.5s;
cursor: pointer;
}
/*访客记录第三部分:访客信息*/
#fangkexinxi{
position: absolute;
left: 20px;
top: 165px;
}
#h1-pic{
background-image: url("img/ly.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
}
#h1-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h1:hover{
cursor: pointer;
}
#h1-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 90px;
}
#h1-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 112px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h2-pic{
background-image: url("img/xyb.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
position: absolute;
left: 138px;
top:0px;
transition: background-size 0.5s;
}
#h2-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h2:hover{
cursor: pointer;
}
#h2-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 90px;
left: 138px;
}
#h2-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 112px;
left: 138px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h3-pic{
background-image: url("img/ljy.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
width: 108px;
height: 108px;
position: absolute;
left: 276px;
top:0px;
transition: background-size 0.5s;
}
#h3-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h3:hover{
cursor: pointer;
}
#h3-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 90px;
left: 276px;
}
#h3-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 112px;
left: 276px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h4-pic{
background-image: url("img/mdl.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 0px;
top: 148px;
}
#h4-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h4:hover{
cursor: pointer;
}
#h4-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 238px;
}
#h4-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 260px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h5-pic{
background-image: url("img/zcj.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 138px;
top: 148px;
}
#h5-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h5:hover{
cursor: pointer;
}
#h5-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 238px;
left: 138px;
}
#h5-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 260px;
left: 138px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h6-pic{
background-image: url("img/zhn.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 276px;
top: 148px;
}
#h6-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h6:hover{
cursor: pointer;
}
#h6-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 238px;
left: 276px;
}
#h6-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 260px;
left: 276px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h7-pic{
background-image: url("img/wyn.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 0px;
top: 296px;
}
#h7-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h7:hover{
cursor: pointer;
}
#h7-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 386px;
}
#h7-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 408px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
}
#h8-pic{
background-image: url("img/wyz.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 138px;
top: 296px;
}
#h8-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h8:hover{
cursor: pointer;
}
#h8-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 386px;
left: 138px;
}
#h8-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 408px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
left: 138px;
}
#h9-pic{
background-image: url("img/czy.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
width: 108px;
height: 108px;
transition: background-size 0.5s;
position: absolute;
left: 276px;
top: 296px;
}
#h9-pic:hover{
background-size: 110% 110%;
transition: background-size 0.5s;
}
#h9:hover{
cursor: pointer;
}
#h9-name{
color: white;
background-color: rgba(0,0,0,0.4);
text-align: center;
width: 108px;
height: 18px;
font-family: 微软雅黑;
font-size: 12px;
line-height: 18px;
position: absolute;
top: 386px;
left: 276px;
}
#h9-date{
font-size: 14px;
font-family: 微软雅黑;
position: absolute;
top: 408px;
width: 108px;
height: 20px;
text-align: center;
line-height: 20px;
left: 276px;
}
</style>
</head>
<body>
<!--最上方固定的黑框-->
<div>
<ul id="Top">
<li>QQ空间</li>
<li>个人中心</li>
<li>我的主页</li>
<li>好友</li>
<li>游戏</li>
<li>音乐</li>
<li>装扮 ∨
<ul id="Top-zb">
<li>一键装扮</li>
<li>装扮商城</li>
</ul>
</li>
</ul>
</div>
<!--空白行-->
<div id="TopBlank" class="TopElement"></div>
<!--顶部的名字和个性签名-->
<div id="TopName" class="TopElement">STAREXILE</div>
<div id="TopSignature" class="TopElement">你守浅浪,我渡离殇</div>
<div id="TopInfor" class="TopElement">
<!--头像-->
<div id="Myphoto">
<div id="Changephoto">修改头像</div>
</div>
<!--昵称-->
<div id="Myname">STAREXILE</div>
<!--黄钻信息-->
<div id="VIPInfor">
<div id= ></div>
<div id="VIP-age"></div>
<div id="VIP-age-grow">成长值1成长速度-10点/天</div>
<div id="VIP-age-grow-down"></div>
<div id="VIP-buy">续费黄钻</div>
</div>
<!--天气-->
<div id="Weather">
<div id="weather-pic"></div>
<div id="weather-temp">36°</div>
<div id="weather-city">西安</div>
<div id="weather-date">7月14日</div>
</div>
</div>
<!--导航-->
<div id="Navgation" class="TopElement">
<div class="btn">主页</div>
<div class="btn">日志</div>
<div class="btn">相册</div>
<div class="btn">留言板</div>
<div class="btn">说说</div>
<div class="btn">个人档</div>
<div class="btn">音乐</div>
<div class="btn">更多</div>
</div>
<!--大页面框-->
<!--大页面左侧-->
<div id="PAGE">
<div id="PageLeft">
<div id="Menu">
<div class="menu" id="m1">好友动态</div>
<div class="menu" id="m2">特别关心</div>
<div class="menu" id="m3">与我相关</div>
<div class="menu" id="m4">直播广场</div>
<div class="menu" id="m5">那年今日</div>
<div class="menu" id="m6">游戏应用</div>
<div class="menu" id="m7">我的收藏</div>
</div>
<div id="Game">
<div class="game" id="g1">CF黄钻特权</div>
<div class="game" id="g2">仙魂</div>
<div class="game" id="g3">焚天之怒</div>
<div class="game" id="g4">礼物</div>
<div class="game" id="g5">青云志</div>
<div class="game" id="g6">盗墓笔记</div>
<div class="game" id="g7">蛇蛇争霸</div>
<div class="game" id="g8">投票</div>
<div class="game" id="g9">QQ情侣</div>
<div class="game" id="g10">QQ牧场</div>
<div class="game" id="g11">文件夹</div>
<div class="game" id="g12">积分商城</div>
<div class="game" id="g13">每日抽奖</div>
<div class="game" id="g14">更多游戏应用</div>
<div class="game" id="g15">热血三国</div>
</div>
</div>
<!--大页面中间-->
<div id="PageMiddle">
<div id="Searchselect">
<input type="text" name="" id="srch" value=""/>
<div id="midpic1" class="mp"></div>
<div id="midpic2" class="mp"></div>
<div id="midpic3" class="mp"></div>
</div>
<div id="AllDT">全部动态</div>
<div id="dt1">
<div id="dt1-photo"></div>
<div id="dt1-name">王奕尊</div>
<div id="dt1-date">7月14日 21:15</div>
<div id="dt1-wenzi">jrm,有被伤到</div>
<div id="dt1-neirong"></div>
<div id="dt1-llxx">浏览192次</div>
<div id="dt1-zan"></div>
<div id="dt1-ping"></div>
<div id="dt1-zhuan"></div>
<div id="dt1-line"></div>
<div id="dt1-zan2"></div>
<div id="dt1-dianzantouxiang">
<div id="p1"></div>
<div id="p2"></div>
<div id="p3"></div>
<div id="p4"></div>
</div>
<input type="text" name="" id="dt1-pl" value=""/>
</div>
<div id="dt2">
<div id="dt2-1">广告</div>
<div id="dt2-2">
<div id="dt2-xuanxiang">选项
<div id="dt2-jubao">举报</div>
<div id="dt2-guanbi">关闭</div>
</div>
</div>
<div id="dt2-line"></div>
<div id="dt2-ADpic"></div>
<div id="dt2-line2"></div>
</div>
</div>
<!--大页面右侧-->
<div id="PageRight">
<!--大页面右上:签到信息-->
<div id="Qiandao">
<div id="xingqi">周三</div>
<div id="riqi">7.14</div>
<div id="qd">签到</div>
<div id="leiji">31</div>
<div id="days">Days</div>
</div>
<!--大页面右中:广告-->
<div id="AD">
<div id="ADdetail">点击了解详情</div>
</div>
<!--大页面右下:访客记录-->
<div id="Record">
<div id="fangwenxinxi">
<div id="skgw">谁看过我 |</div>
<div id="wkgs">我看过谁 |</div>
<div id="bdfk">被挡访客 |</div>
</div>
<div id="VIPadvertise">
<div id="VIPAD-line1">看看大家都看了什么?</div>
<div id="VIPAD-line2">开通黄钻可查看300人的访问记录</div>
<div id="VIPAD-line3">开通黄钻</div>
</div>
<div id="fangkexinxi">
<div id="h1">
<div id="h1-pic"></div>
<div id="h1-name">李瑶</div>
<div id="h1-date">10:25</div>
</div>
<div id="h2">
<div id="h2-pic"></div>
<div id="h2-name">徐渊博</div>
<div id="h2-date">昨天</div>
</div>
<div id="h3">
<div id="h3-pic"></div>
<div id="h3-name">李佳洋</div>
<div id="h3-date">昨天</div>
</div>
<div id="h4">
<div id="h4-pic"></div>
<div id="h4-name">马栋梁</div>
<div id="h4-date">7月11日</div>
</div>
<div id="h5">
<div id="h5-pic"></div>
<div id="h5-name">赵承佳</div>
<div id="h5-date">7月10日</div>
</div>
<div id="h6">
<div id="h6-pic"></div>
<div id="h6-name">张涵诺</div>
<div id="h6-date">7月2日</div>
</div>
<div id="h7">
<div id="h7-pic"></div>
<div id="h7-name">王禹诺</div>
<div id="h7-date">7月2日</div>
</div>
<div id="h8">
<div id="h8-pic"></div>
<div id="h8-name">王奕尊</div>
<div id="h8-date">7月2日</div>
</div>
<div id="h9">
<div id="h9-pic"></div>
<div id="h9-name">崔泽宇</div>
<div id="h9-date">7月2日</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>