-
Hi all, I was wondering how people approach this sort of use case—for most elements, I don't want to have margins and paddings applied by default to typographical elements since it's easier to build out UIs when they don't behave this way; CSS reset ensures this. But in the case of an actual piece of prose, like long-form text embedded in the site, it becomes useful to do stuff like cap the content width, have paragraph tags and heading tags auto space themselves out, hyperlinks actually look like links, and so on in a consistent way. There are several possible ways to achieve this sort of behavior with Panda, but what would people think is a particularly elegant way? Could use a CSS style with a bunch of dependent selectors, or global styles on a particular classname, or something else. What other options are there? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@osdiab I'd use globalCSS for reset styles |
Beta Was this translation helpful? Give feedback.
@osdiab A neater solution