问答详情
源自:9-1 继承者 - 样式的继承

css哪些样式有继承性格

css哪些样式有继承性格

提问者:天天满课啊嗷呜啦啦啦 2016-08-02 21:14

个回答

  • 蠢癌晚期
    2016-08-02 21:27:40

    css样式表属性可以继承的有如下:

    azimuth, border-collapse, border-spacing,
    caption-side, color, cursor, direction, elevation,
    empty-cells, font-family, font-size, font-style,
    font-variant, font-weight, font, letter-spacing,
    line-height, list-style-image, list-style-position,
    list-style-type, list-style, orphans, pitch-range,
    pitch, quotes, richness, speak-header, speaknumeral,
    speak-punctuation, speak, speechrate,
    stress, text-align, text-indent, texttransform,
    visibility, voice-family, volume, whitespace,
    widows, word-spacing


    摘自链接:http://www.cnphp.info/css-style-inheritance.html

  • 蠢癌晚期
    2016-08-02 21:23:13

    继承是一种规则,它允许样式不仅应用于某个特定html标签元素,而且应用于其后代。