文本属性-位置 | text-emphasis-position (Text Decoration) - CSS 中文开发手册 - Break易站

  •   CSS 中文开发手册

    文本属性-位置 | text-emphasis-position (Text Decoration) - CSS 中文开发手册

    该text-emphasis-position CSS属性描述了强调标记的绘制位置。强调标记对行高的影响与ruby文本相同:如果位置不够,则会增加行高。

    /* Initial value */
    text-emphasis-position: over right;
    
    /* Keywords value */
    text-emphasis-position: over left;
    text-emphasis-position: under right;
    text-emphasis-position: under left;
    
    text-emphasis-position: left over;
    text-emphasis-position: right under;
    text-emphasis-position: left under;
    
    /* Global values */
    text-emphasis-position: inherit;
    text-emphasis-position: initial;
    text-emphasis-position: unset;

    Initial value

    over right

    Applies to

    all elements

    Inherited

    no

    Media

    visual

    Computed value

    as specified

    Animation type

    discrete

    Canonical order

    the unique non-ambiguous order defined by the formal grammar

    首选位置

    重点标记的首选位置取决于语言。以日语为例,首选的位置是在正上方。另一方面,在中文中,首选位置是在右下方。下面的信息表总结了中文和日文中的强调标记的首选位置:

    Language

    Preferred position

    Illustration

    Horizontal

    Vertical

    Japanese

    over

    right

    | Mongolian |

    转载请保留页面地址:https://www.breakyizhan.com/css/32003.html

    posted on 2020-06-30 00:08  MrAit  阅读(359)  评论(0编辑  收藏  举报

    导航