css text-indent属性
翻译结果:
text
英 [tekst] 美 [tɛkst]
n.文本,原文;课文,教科书;主题;版本
v.发短信
index
英 [ˈɪndeks] 美 [ˈɪnˌdɛks]
n.索引;<数>指数;指示;标志
vt.给…编索引;把…编入索引;[经济学]按生活指数调整(工资、价格等)
vi.[机械学]转位
css text-indent属性 语法
作用:text-indent 属性规定文本块中首行文本的缩进。
说明:用于定义块级元素中第一个内容行的缩进。这最常用于建立一个“标签页”效果。允许指定负值,这会产生一种“悬挂缩进”的效果。
注释:允许使用负值。如果使用负值,那么首行会被缩进到左边。在 CSS 2.1 之前,text-indent 总是继承计算值,而不是声明值。
css text-indent属性 示例
<html> <head> <style type="text/css"> p {text-indent: 1cm} </style> </head> <body> <p> php中文网 php中文网 php中文网 php中文网 php中文网 php中文网 php中文网 php中文网 php中文网 php中文网 </p> </body> </html>
点击 "运行实例" 按钮查看在线实例
热门推荐
CSS 相关词典
- keyframes 翻译 示例 语法
- animation 翻译 示例 语法
- animation-name 翻译 示例 语法
- animation-duration 翻译 示例 语法
- animation-timing-function 翻译 示例 语法
- animation-delay 翻译 示例 语法
- animation-iteration-count 翻译 示例 语法
- animation-direction 翻译 示例 语法
- animation-play-state 翻译 示例 语法
- animation-fill-mode 翻译 示例 语法
- background 翻译 示例 语法
- background-attachment 翻译 示例 语法
- background-color 翻译 示例 语法
- background-image 翻译 示例 语法
- background-position 翻译 示例 语法
- resize 翻译 示例 语法
- background-repeat 翻译 示例 语法
- background-clip 翻译 示例 语法
- outline-offset 翻译 示例 语法
- background-origin 翻译 示例 语法
- background-size 翻译 示例 语法
- nav-up 翻译 示例 语法
- border 翻译 示例 语法
- nav-right 翻译 示例 语法
- nav-left 翻译 示例 语法
- nav-index 翻译 示例 语法
- border-bottom 翻译 示例 语法
- nav-down 翻译 示例 语法
- icon 翻译 示例 语法
- box-sizing 翻译 示例 语法
- appearance 翻译 示例 语法
- transition-delay 翻译 示例 语法
- transition-timing-function 翻译 示例 语法
- transition-duration 翻译 示例 语法
- transition-property 翻译 示例 语法
- transition 翻译 示例 语法
- backface-visibility 翻译 示例 语法
- border-bottom-color 翻译 示例 语法
- border-bottom-style 翻译 示例 语法
- perspective-origin 翻译 示例 语法
- border-bottom-width 翻译 示例 语法
- perspective 翻译 示例 语法
- border-color 翻译 示例 语法
- transform-style 翻译 示例 语法
- border-left 翻译 示例 语法
- border-left-color 翻译 示例 语法
- transform-origin 翻译 示例 语法
- border-left-style 翻译 示例 语法
- border-left-width 翻译 示例 语法
- transform 翻译 示例 语法
- border-right 翻译 示例 语法
- border-right-color 翻译 示例 语法
- word-wrap 翻译 示例 语法
- border-right-style 翻译 示例 语法
- word-break 翻译 示例 语法
- border-right-width 翻译 示例 语法
- text-wrap 翻译 示例 语法
- border-style 翻译 示例 语法
- text-shadow 翻译 示例 语法
- border-top 翻译 示例 语法
- border-top-color 翻译 示例 语法
- border-top-style 翻译 示例 语法
- text-overflow 翻译 示例 语法
- border-top-width 翻译 示例 语法
- text-outline 翻译 示例 语法
- border-width 翻译 示例 语法
- text-justify 翻译 示例 语法
- outline 翻译 示例 语法
- outline-color 翻译 示例 语法
- text-emphasis 翻译 示例 语法
- outline-style 翻译 示例 语法
- punctuation-trim 翻译 示例 语法
- outline-width 翻译 示例 语法
- hanging-punctuation 翻译 示例 语法
- border-bottom-left-radius 翻译 示例 语法
- word-spacing 翻译 示例 语法
- border-bottom-right-radius 翻译 示例 语法
- white-space 翻译 示例 语法
- border-image 翻译 示例 语法
- border-image-outset 翻译 示例 语法
- unicode-bidi 翻译 示例 语法
- border-image-repeat 翻译 示例 语法
- border-image-slice 翻译 示例 语法
- border-image-source 翻译 示例 语法
- text-transform 翻译 示例 语法
- border-image-width 翻译 示例 语法
- border-radius 翻译 示例 语法
- text-indent 翻译 示例 语法
- border-top-left-radius 翻译 示例 语法
- text-decoration 翻译 示例 语法
- border-top-right-radius 翻译 示例 语法
- box-shadow 翻译 示例 语法
- text-align 翻译 示例 语法
- line-height 翻译 示例 语法
- letter-spacing 翻译 示例 语法
- direction 翻译 示例 语法
- overflow-x 翻译 示例 语法
- overflow-y 翻译 示例 语法
- color 翻译 示例 语法
- overflow-style 翻译 示例 语法