Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Body tag not working - Kevin Powell - Community
KP-C
Kevin Powell - Community
โข
3y ago
โข
4 replies
Jomu
Body tag not working
I tried selecting the body tag
, to change the background color when the button is checked
, I couldn
't figure out why the body tag doesn
't change
. When I added a div
, it worked on the div
.
https://codepen.io/aldous-waites/pen/RwEQqQE
CodePen
aldous
Button Test
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time ๐.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Auto Closing Tag not showing
KP-C
Kevin Powell - Community / front-end
3y ago
Font-family when applied to body tag shouldnt it apply for all the elements thats under the body?
KP-C
Kevin Powell - Community / front-end
2y ago
How to add a class to the body tag inside an Iframe
KP-C
Kevin Powell - Community / front-end
4y ago
Issue With Grid -- Body Selector working, but the attached class will not.
KP-C
Kevin Powell - Community / front-end
4y ago