iuioiua
iuioiua2y ago

I'd like to change the background colour of the `body` element in Fresh. How do I do that simply?

(see title)
6 Replies
ioB
ioB2y ago
could you elaborate on why you need the body element specifically?
iuioiua
iuioiua2y ago
When the user scrolls past the full height of the page, the background of the outer part of the page must match the inner part of the page. Does that make sense?
crowlKats
crowlKats2y ago
Twind
Twind
The smallest, fastest, most feature complete tailwind-in-js solution in existence
iuioiua
iuioiua17mo ago
Sorry for the late reply... Thank you! Do you know how I can do this for a single page within a project? I've tried adding a body with a custom class in the page component. However, this invalidates the HTML as there are now two body elements.
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
iuioiua
iuioiua17mo ago
I was thinking of using a style element but wondered if there was a better alternative... Thanks anyway, guys! 🤙🏾