Recommended way to add global styles (e.g. h1, p) #15088
Closed
bobbymannino
started this conversation in
General
Replies: 2 comments 2 replies
-
It depends on what you want to take presedence in your CSS in case of two rules with the same specificity. You can use As a general rule of thumb, utilities should probably be more specific though so what you're suggesting is great! |
Beta Was this translation helpful? Give feedback.
2 replies
-
Perfect, thank you @philipp-spiess |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In v4 what is the recommended way to add global base styles? is it;
or is it something else? I'm aware that tw is a framework to stop global styles and you should use components like
heading.svelte
files but incase of a small project where that would be out of scope?Beta Was this translation helpful? Give feedback.
All reactions