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

css

时间:2018-09-11 16:25:56      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:css   text   under   normal   文本   大于   方式   enter   ora   

1文本样式 text

  颜色 color:red;

 文本对齐方式: text align:left/center/fight/justify(两端对齐)

 文本修饰: text decoration:none(什么都没有)/overline(上划线)/underline(下划线)/line through(删除线)

 文本缩进:text indent:20px;

2字体 font

 大小   font-size:20px

 颜色   color:red;       font-color:red;(×)

 形状   font-style:normal/italic/oblique/inherit

 字行   font-family:”微软雅黑”;

 加粗   font-weight:bold;  bold后面也可跟数字

        400为正常   大于400为加粗  反之为变细           不用带单位px

css

标签:css   text   under   normal   文本   大于   方式   enter   ora   

原文地址:https://www.cnblogs.com/yangzhiqiang/p/9627794.html

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