<css二>text
来源:互联网 发布:office替代软件 编辑:程序博客网 时间:2024/06/06 05:08
color:(text的color)
<style type="text/css">html,body,h1,p{color:gray;}</style>direction:(text的方向)
html,body,h1,p{direction:rtl; 书写从右向左。 direction:ltr; 书写从左向右。}line-height:(text每一行之间的距离)
p {line-height:normal;默认的行高line-height:50;设置的行高line-height:10%;使用百分比设置}
letter-spacing:(字符之间的距离)
p {letter-spacing:normal;默认设置;letter-spacing:6px;自定义设置letter-spacing:-60px;设置负值。}text-align:(字符对齐方式)
left:左对齐right: 右对齐center:中间对齐justify:两边对齐(难)
text-decoration:(text的修饰)
h1 { text-decoration: overline }h2 { text-decoration: line-through }h3 { text-decoration: underline }h4 { text-decoration: blink }h5 { text-decoration: none }效果:
text-indent:(文本的缩进)
{ text-indent:10px / 10% / 10em; 负值的话在数字前加“-”}
text-transform:(文本的字母大小写)
{ text-transform: none }无变化{ text-transform: uppercase }字母全大写{ text-transform: lowercase }字母全部小写{ text-transform: capitalize }字母的开头大写white-space:(元素中空白处理方式)
word-spacing:(字符间隔)
{ word-spacing:normal }标准的默认字符间隔{ word-spacing:10px / 5% }
0 0
- <css二>text
- css text文本属性(二)
- css手册(二) Text 文字
- CSS Text
- CSS Text
- css text
- CSS属性总结(二):text, font, margin, padding
- css 属性总结(二):text, font, margin, padding
- CSS text-transform 属性
- CSS text-transform 属性
- css: basics and text
- CSS text-align 属性
- css text-decoration下划线
- CSS text-transform 属性
- CSS text-align 属性
- CSS text-indent 属性
- css text-shadow
- css text-shadow
- ubuntu14.04安裝numpy,scipy
- 京东2016实习生在线笔试
- oracle11g导出DMP不能导空表解决方法
- 【疑难】Android 在 WindowManager 中使用 ListView 点击不响应问题记录
- LeetCode 16 3Sum Closest
- <css二>text
- 深度学习和自然语言处理中的注意和记忆Attention and Memory in Deep Learning and NLP
- 8. 表的分割
- C 语言 —— debug(逻辑错误)
- 操作型模式之Strategy(策略)模式
- C#-正则表达式基础
- opencv计算图像互信息熵
- 更改wamp的mysql密码
- Oracle数据库--实用操作(2) 数据库对象