边界块的最终宽度 | border-block-end-width (Logical Properties) - CSS 中文开发手册 - Break易站

  •   CSS 中文开发手册

    边界块的最终宽度 | border-block-end-width (Logical Properties) - CSS 中文开发手册

    这是一种实验技术

    由于该技术的规格不稳定,请查看各种浏览器的兼容性表格以供使用。还要注意,随着规范的变化,实验技术的语法和行为在未来版本的浏览器中可能会发生变化。

    border-block-end-width 映射到取决于元件的写入模式,方向性,和文本方向的物理边界宽度的逻辑块端边界的宽度。它对应于border-top-width,border-right-width,border-bottom-width,或border-left-width属性根据为定义的值writing-mode,direction和text-orientation。

    /* <'border-width'> values */
    border-block-end-width: 5px;
    border-block-end-width: thick;

    相关属性是border-block-start-width,border-inline-start-width,和border-inline-end-width

    初始值

    medium

    应用于

    all elements

    是否继承

    no

    百分比

    logical-width of containing block

    使用媒体

    visual

    计算值

    absolute length; 0 if the border style is none or hidden

    Animation type

    discrete

    规范顺序

    the unique non-ambiguous order defined by the formal grammar

    句法

    取值

    <'border-width'>边框的宽度,详见border-width

    形式语法

    <'border-width'>

    HTML内容

    <div>
      <p class="exampleText">Example text</p>
    </div>

    CSS内容

    div {
      background-color: yellow;
      width: 120px;
      height: 120px;
    }
    
    .exampleText {
      writing-mode: vertical-lr;
      border: 1px solid blue;
      border-block-end-width: 5px;
    }

    规格

    Specification

    Status

    Comment

    CSS Logical Properties Level 1The definition of 'border-block-end-width' 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

  •   CSS 中文开发手册
    转载请保留页面地址:https://www.breakyizhan.com/css/32375.html

    posted on 2020-07-04 10:14  MrAit  阅读(200)  评论(0编辑  收藏  举报

    导航