CSS reset in FSE/Block themes
-
Hi,
coming from classic WP theme development I am just getting started on my very first fse/block theme.
I’ve always used a CSS reset in my themes like this one: github.com/necolas/normalize.css
plus a few global styles like these:
*, *::after, *::before { box-sizing: border-box; } html { font-size: 62.5%; }
I am now wondering how to implement them in a block theme: Should I put them in theme.json inside the elements object, or import the reset in styles.css and also add the global */html styles there? How are you guys doing this?
Rgds, Sibylle
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘CSS reset in FSE/Block themes’ is closed to new replies.