CSS direction 属性
属性定义及使用说明
direction属性指定文本方向/书写方向。
| 默认值: | ltr | 
|---|---|
| 继承: | yes | 
| 版本: | CSS2 | 
| JavaScript 语法: | object.style.direction="rtl" | 
浏览器支持
| 属性 | |||||
|---|---|---|---|---|---|
| direction | 2.0 | 5.5 | 1.0 | 1.3 | 9.2 | 
属性值
| 值 | 描述 | 
|---|---|
| ltr | 默认。文本方向从左到右。 | 
| rtl | 文本方向从右到左。 | 
| inherit | 规定应该从父元素继承 direction 属性的值。 | 
相关文章
CSS 教程: CSS Text
 
       
点我分享笔记