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

关于css样式继承

怎么区别能不能继承呢?也就是说哪些可以继承,哪些不会继承呢

提问者:小意达的花儿0 2016-02-19 11:12

个回答

  • 玖零儛
    2016-03-17 20:52:15
    已采纳

    会继承的:

    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

  • qq_温柔楠_0
    2016-02-19 11:27:26

    有一些css样式是不具有继承性的。如border:1px solid red;