标签:tor author text 映射 未来 width 形式 变化 价值
边界块的最终颜色 | border-block-end-color (Logical Properties) - CSS 中文开发手册
这是一种实验技术
由于该技术的规格不稳定,请查看各种浏览器的兼容性表格以供使用。还要注意,随着规范的变化,实验技术的语法和行为在未来版本的浏览器中可能会发生变化。
border-block-end-color 定义的元素,它映射到取决于元件的写入模式,方向性,和文本方向的物理边框颜色的逻辑块端边框的颜色。它对应于border-top-color,border-right-color,border-bottom-color,或border-left-color属性根据为定义的值writing-mode,direction和text-orientation。
border-block-end-color: yellow; border-block-end-color: #F5F6F7;
相关的属性是border-block-start-color,,border-inline-start-color和border-inline-end-color,它们定义了元素的其他边界颜色。
初始值 | currentcolor |
---|---|
应用于 | all elements |
是否继承 | no |
适用媒体 | visual |
计算值 | computed color |
Animation type | discrete |
规范顺序 | the unique non-ambiguous order defined by the formal grammar |
<‘color‘>边框的颜色。详情见color
<‘color‘>where <color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color> where <rgb()> = rgb( [ [ <percentage>{3} | <number>{3} ] [ / <alpha-value> ]? ] | [ [ <percentage>#{3} | <number>#{3} ] , <alpha-value>? ] ) <rgba()> = rgba( [ [ <percentage>{3} | <number>{3} ] [ / <alpha-value> ]? ] | [ [ <percentage>#{3} | <number>#{3} ] , <alpha-value>? ] ) <hsl()> = hsl( [ <hue> <percentage> <percentage> [ / <alpha-value> ]? ] | [ <hue>, <percentage>, <percentage>, <alpha-value>? ] ) <hsla()> = hsla( [ <hue> <percentage> <percentage> [ / <alpha-value> ]? ] | [ <hue>, <percentage>, <percentage>, <alpha-value>? ] ) where <alpha-value> = <number> | <percentage> <hue> = <number> | <angle>
<div> <p class="exampleText">Example text</p> </div>
div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-lr; border: 10px solid blue; border-block-end-color: red; }
Specification | Status | Comment |
---|---|---|
CSS Logical Properties Level 1The definition of ‘border-block-end-color‘ in that specification. | Editor‘s Draft | Initial definition |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | 41.0 (41.0)1 | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | 41.0 (41.0)1 | No support | No support | No support |
边界块的最终颜色 | border-block-end-color (Logical Properties) - CSS 中文开发手册 - Break易站
标签:tor author text 映射 未来 width 形式 变化 价值
原文地址:https://www.cnblogs.com/breakyizhan/p/13233959.html