📅  最后修改于: 2022-03-11 15:03:43.495000             🧑  作者: Mango
If you want to effect the font of all text on all pages. Simply replace :root with *. The * selector effects everything on the given page.
Make sure to import your css file into every react page you want it to take effect on.