首页 > Web开发 > 详细

css_基础属性

时间:2017-02-08 22:48:23      阅读:280      评论:0      收藏:0      [点我收藏+]

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus?">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>css_基础属性</title>
<style type="text/css">
h1{font-family: "幼圆","黑体";
font-size: 30px;font-style: normal;
text-decoration: underline;
text-align: center;
border: 1px solid red;
}

h2{font-family: "幼圆" font-size:2cm;font-style: italic;text-decoration: overline;text-align: left; text-indent:2cm; }

h3{font-size: 300%; text-decoration: line-through;text-align: right;}

div{background-color: red; height: 200px; border: 1px solid blue;}

p{border-top: 1px solid red;}
h5{border-left: 1px dashed green ;}


</style>



</head>
<body>
<h1>aaa</h1>
<h2>bbb</h2>
<h3>ccc</h3>

<div>
我是div

</div>
<p>我是P标签</p>
<h5>h55555</h5>


</body>
</html>

css_基础属性

原文:http://www.cnblogs.com/caicai2480/p/6380067.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!