Home  >  Q&A  >  body text

Why does span's color have to be inline style to work?

Why does the color of span have to be inline style to work?

永~不~低~头永~不~低~头2122 days ago1264

reply all(2)I'll reply

  • 藏色散人

    藏色散人2018-12-29 10:50:14

    It doesn’t have to be inline to work, it’s just that inline styles take precedence over internal styles. You can learn about css cascading priority

    reply
    0
  • 永~不~低~头

    The selector in her class does not work

    永~不~低~头 · 2018-12-29 11:27:04
  • Cancelreply