css中如何写标题,css样式标题类

看代码吧

html

TOP5最高内存使用率

css:

body{

background:url(http://desk.fd.zol-img.com.cn/t_s960x600c5/g5/M00/01/0E/ChMkJ1bKwdSIdF7rAAjElpXhmy0AALGegGv1KcACMSu795.jpg) repeat;

}

.panel{

margin-top:100px;

border:2px solid #0A5A94;

border-top:none;

width:600px;

height:500px;

position:relative;

}

.title {

width:200px;

height:40px;

line-height:40px;

text-align:center;

border:2px dotted #0A5A94;

position:absolute;

top:-20px;

left:200px;

border-radius:40px;

}

.line {

position:absolute;

top:0px;

height:2px;

background:#0A5A94;

}

.left-line{

left:0px;

width:200px;

}

.right-line{

right:0px;

width:198px;

}

css中如何写标题,css样式标题类_第1张图片

你可能感兴趣的:(css中如何写标题)