cognitom / cognitom/paper-css

Use css class instead apply to body element directly

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.