0
点赞
收藏
分享

微信扫一扫

css文本


<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>文本样式</title>
<style type="text/css">
span {
color: blue;
font-size: 30px;
font-family: roman;
/*切换字体*/
line-height: 50px;
/*行高*/
letter-spacing: 10px;
/*字符间隙*/
text-decoration: overline;
/*字符修饰:overline 上划线 ;underline 下划线;line-through 从中间穿过*/
text-transform: uppercase;
/*字符转换:lowercase :小写 uppercase : 大写*/
}
</style>
</head>

<body>
<pre>
<span>JingYeSi</span>

<span>床前明月光, 疑是地上霜。</span>
<span>举头望明月, 低头思故乡。</span>
</pre>
</pre>
</body>

</html>


举报

相关推荐

CSS文本颜色

CSS Text(文本)

CSS —— 文本样式

CSS文本样式

CSS文本属性

css文本属性

css:文本属性

0 条评论