个人主页图

475 阅读4分钟

中国风个人主页代码,喜欢的点赞、收藏加关注,不定时更新精彩内容。 2500256-5cf39edcd6b8807b.png HTML:

<!doctype html>
<html>
<head><meta charset="utf8">
	<title></title>
<link rel="stylesheet" type="text/css" href="个人主页.css">
</head>
<body>
<div id="rongqi">
  	<div id="top"></div>
    <aside id="aside_left"></aside>
    <header>
    	<div id="gerentu"></div>
    	<nav id="jiangnancun">    		
    		<div id="nav_daoheng">
    			<!-- <ul>
    				<li><a href="">首页</a></li>
    				<li><a href="">相册</a></li>
    				<li><a href="">留言板</a></li>
    			</ul> -->
    		</div>
    	</nav>
    	
   <!--  <pre>
        天   海          
        涯   内
        若   存
        比   知
        邻   己			
    </pre>    	 -->
    </header>
 <article>
 	<div id="article_left">
 		<!-- <ul>
 			<li><a href="">个人资料</a></li>
 			<li class="left2"><a href="">一花一世界</a></li>
 		</ul> -->
 		<div id="article_left_bottom" 
 		title="          一花一世界,一叶一如来,
         春来花自青,秋至叶飘零,
         无穷般若心自在,语默动静体自然。">
        </div>
 	</div>
 	<div id="article_note">
 		<!-- <ul>
 			<li class="note"></li>
 			<li><b><a href="">夏季的落叶</a></b></li>
 			<li><b><a href="">时光冉冉</a></b></li>
 			<li><b><a href="">心舞飞扬</a></b></li>
 			<li><b><a href="">缘起缘灭</a></b></li>
 			<li><b><a href="">遥远的地方</a></b></li>
 			
 		</ul> -->
 		<div id="yuan"></div>
 		<span></span>
 	</div>
 	<div id="article_right">
 		<img src="images/6.png" style="float:right">
 	   一段情一段事一段久违的伤感,有些事你不说我不说就谈了,      
	  有些人你不联系我不联系就陌生了,有些人不会忘,
	  由于不舍得;有些人必需要忘,因为不值得。<p>        
	  有些人,有些事,看清了,也就看轻了。
	  我不说,你不懂,这就是距离。        
	  一条路走着走着,就疲惫了,有些事做着做着,
	   就习惯了。</p> 
	       <p>一生很短也行长,不必纠结
	   于过去。</p>
 		<!-- <div class="lanhua"></div> -->
 	</div>
 	<div id="article_bottom">
 		<div id="article_bottom_left">
 			<!-- <ul><li><b><a href="">教育背景</a></b></li>
 				<li><b><a href="">在校经历</a></b></li>
 				<li><b><a href="">能力展示</a></b></li>
 			</ul> -->
 		</div>
 		<div id="metu1">
 			<!-- <ul><li>我的性格</li></ul> -->
 			喜欢愉快单纯的生活方式 ,为人处事温和。
 		</div>
 		<div id="metu2">
 			<!-- <ul><li>我的特长</li></ul> -->
 			会H T M L 5 会 O F F I CE的使用会使用Axur
 		</div>
 		<div id="metu3">
 			<!-- <ul><li>我的爱好</li></ul> -->
 			喜欢玩游戏看电影和朋友一起聚会 旅游。
 		</div>
 	</div>
 </article>
 <aside id="aside_right"></aside>
 <footer>
 	<div id="footer_top"></div>
 	<div id="footer_bottom">
 		<a href="mailto:472731162@iloud.com">邮箱:472731162@iloud.com</a>
 		<a href="">关于我/联系我</a>
 		<b>&copy;:lirenping</b>

 	</div>
 </footer>

</div>
</body>
</html>

如果文章对你有帮助,请继续看css部分: css:

body{
		margin: 0px;
		font-family: STXingkai;
		font-size: 18px;
   /* background-color: #f2f2f2;*/
   

	}
	header{
   	width: 800px;
   	height: 230px;
   	margin: 0px 0 10px 0px;
   	float: left;
    position: relative;
   }
    nav{
    height: 200px;
    width:293px;
    float: left;
    margin-left: 18px; 
   }
   /*边栏左侧*/
   #aside_left{
   	margin: 0px;
    background: #fff url(images/2.png) no-repeat;
   	width: 100px;
   	height: 810px;
   	
   	float: left;
   }
   /*边栏右侧*/
    #aside_right{
    margin: 0px;
    background: #fff url(images/2.png) no-repeat;
    width: 100px;
    height: 810px;
    position: relative;
    
    left: 958px;
   }
   article{
   	width: 800px;
    float: left;
   }
   footer{
   	width: 1050px;

   }	
   a{
   	text-decoration: none;
    color: #000;
   }
   li{
    list-style-type: none;
   }
   #rongqi{
   	width: 1056px;
   	margin: 20px auto;
    background-color: #FFF;
   }
   #top{
   	width: 1050px;
   	margin: 0px 0 10px 0px;
    border: 2px solid #000;

   }   
   #gerentu{background: #fff url(images/50.png) no-repeat;
   	width: 270px;
   	height: 200px;
   	float: left;
   }
   #gerentu:hover{
   	background: #fff url(images/22.png) no-repeat;
   	width: 270px;
   	height: 200px;   }
    /*nav部分*/
   nav{       	
    background: #fff url(images/3.png) no-repeat;    
   }
   nav li{    
    float: left;
   }
   #nav_daoheng{
    width: 293px;      
    position: absolute;
     top: 146px;
   }
   #nav_daoheng ul{
    margin: 0px;
    padding: 0px;
    
   }
   #nav_daoheng li a{
    display: block;
    width: 91px;
    height: 44px;
    line-height: 44px;
    background-color: #999;
    color: #fff;
    padding: 2px;
    margin:1px;
    text-align: center;

   }
  pre{
    font-family: STXingkai;
    font-size: 28px;
    color: #333;
    margin:10px;
  }
  /*article的左侧部分*/
  #article_left{
    width: 212px;
    height: 370px;
    border: 2px solid #e4e4e4 ;
    border-left: transparent;
    border-right: transparent;
    margin-left: 56px;
    float: left;
    position: relative;

  }

  #article_left ul li{
    width: 25px;
    float: left;  
    padding-top: 10px;
  }
  ul .left2{
    margin-left: 80px;
  }
  #article_left_bottom{
    width: 180px;
    height: 80px;
    background: #fff url(images/4.png) no-repeat;
    position: absolute;
    bottom: 0px;
  }
   /*article的笔记部分*/
   #article_note{ 
    width: 300px;
    height: 370px;
    float: left;
    margin-left: 20px;
    /*border: 1px solid red;*/
    font-family: Avenir;
    font-size: 15px;
    position: relative;
   }
   #article_note ul{
    margin: -22px 20px;
   }
   .note{
    width: 133px;
    height: 32px;
    background: #fff url(images/5.png) no-repeat;      
   }

  #article_note li{
    margin: 18px 0;
    width: 133px;

  }
  #article_note li b{
    display: block;
    border-bottom: 1px solid #999;
    width: 133px;

  }
  #article_note li b a{
    display: block;
    margin-left: 25px;
    margin-bottom: 8px;

  }
  #yuan{
    border: 1px solid #797979;
    width:120px; 
    height:40px;
    -webkit-border-radius: 40px/20px;
   -moz-border-radius: 40px/20px;
  position: absolute;
  bottom: 5px;
  left: 60px;

  }
  span{
    height: 370px;
    border-right: 2px solid #666;
    position: absolute;
    right:16px;
    top: 0px

  }
  /*article的右侧*/
  #article_right{
    width: 180px;
    font-size: 15px;
    float: left;
    font-family: "宋体";
    text-indent: 2em;
    margin: 30px 10px;
 
  }
  /*article的底部*/
  #article_bottom{
    width: 770px;
    height: 150px; 
    float: left;
    margin:30px 50px;
    background-image: url(images/7.png);
    background-size: 100% 99%;
    background-position: no-repeat;
  }
  /*article的底部的左侧*/
  #article_bottom_left li{
    width: 200px;
    height: 30px;
    background:  url(images/8.png) no-repeat left;
    margin: 10px 0;    
  }
  #article_bottom_left li a{
    margin-left: 60px;
    height: 30px;
    line-height: 30px;
  }
  #article_bottom_left li b{
     display: block;
    border-bottom: 3px solid #c9c9c9;
    width: 160px;

  }
  #article_bottom_left{
    float: left;
  }
  /*article的底部的图片1*/
  #metu1{
    width: 100px;
    height: 150px;
    background: url(images/9.png) no-repeat left top;
    float: left;
    margin: 10px;
    font-size: 14px;
    font-family: "宋体";
  }
  #metu1 ul{
    margin: 9px;
  }
  #metu1 li{
    width: 25px;
    margin-left: 30px;
    margin-top: -12px;
    font-size: 17px;
    font-family: STXingkai;

  }
   /*article的底部的图片2*/
     #metu2{
    width: 100px;
    height: 150px;
    background: url(images/10.png) no-repeat left top;
    float: left;
    margin: 10px;
    font-size: 14px;
    font-family: "宋体";
    margin-left: 50px;
  }
  #metu2 ul{
    margin: 9px;
  }
  #metu2 li{
    width: 25px;
    margin-left: 30px;
    margin-top: -12px;
    font-size: 17px;
    font-family: STXingkai;

  }
  /*article的底部的图片3*/
  #metu3{
    width: 100px;
    height: 150px;
    background: url(images/11.png) no-repeat left top;
    float: left;
    margin: 10px;
    font-size: 14px;
    font-family: "宋体";
    margin-left: 50px;
  }
  #metu3 ul{
    margin: 9px;
  }
  #metu3 li{
    width: 25px;
    margin-left: 30px;
    margin-top: -12px;
    font-size: 17px;
    font-family: STXingkai;

  }
  footer{
      font-size: 14px;
    font-family: "宋体";
    float: left;

  }
  #footer_top{   
    width: 1050px;
    margin: 0px 0 10px 0px;
    border: 2px solid #000;
   } 
   #footer_bottom{
    text-align: center;

   }
   #footer_bottom a{
    margin-left: 30px;
   }
   #footer_bottom b{
    margin-left: 30px;
   }