1

I did some research on this topic but still these two seem to have an identical function in css, for example: html { background: yellow; } and root: { background: yellow; } give the same result. Can somebody confirm my pseudo thesis or eventually point out any differences? :D

waysenpai
  • 31
  • 3
  • 1
    The "root" is a common name for the "document root", not depending on the language that is used. In HTML, the root pseudo is always the HTML element, so css for `root` and `html {}` are the same in css. – bron Jun 16 '21 at 10:32

0 Answers0