css right属性
翻译结果:
right
英 [raɪt] 美 [raɪt]
adv.立刻,马上;向右,右边;恰当地;一直
adj.正确的;合适的;右方的;好的,正常的
n.权利;右边;正确,正当;右手
vt.纠正;扶直,使正;整理;补偿
vi.(船舶等)复正,恢复平稳
css right属性 语法
作用:right 属性规定元素的右边缘。该属性定义了定位元素右外边距边界与其包含块右边界之间的偏移。
说明:对于 static 元素,为 auto;对于长度值,则为相应的绝对长度;对于百分比数值,为指定值;否则为 auto。对于相对定义元素,left 的计算值始终等于 right。
注释:所有主流浏览器都支持 right 属性。任何的版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。
css right属性 示例
<html> <head> <style type="text/css"> img { position:absolute; right:50px; } </style> </head> <body> <h1>This is a heading</h1> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" /> </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 翻译 示例 语法