Use css class instead apply to body element directly
Open
- Dominant language
- CSS
- Stars
- 2.6k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
Here is my tip.
You could create a class for those body element styles so we could set such class in a non root element, like a div, turning it the preview frame instead; it would help a lot as sometimes we need put other elements inside body and they shouldn't be influenced by these css styles.
I needed do this in a project because you've set in body directly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.