How do browsers read and interpret CSS?

前端 未结 7 1201
粉色の甜心
粉色の甜心 2020-12-01 07:59

Two part question:

  1. Do browsers have a built-in CSS interpreter like they do for JavaScript?
  2. When exactly does a browser read the CSS and when does it
7条回答
  •  -上瘾入骨i
    2020-12-01 08:40

    I believe the browser interprets CSS as it finds it, with the effect that CSS in the body (inline) takes precedence over CSS (external as well) in the head

提交回复
热议问题