码迷,mamicode.com
首页 > Web开发 > 详细

css_基础属性

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

标签:under   title   css_   size   color   word   set   family   indent   

<!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_基础属性

标签:under   title   css_   size   color   word   set   family   indent   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!