Custom CSS class
To add a class to the <body>
tag add custom_css_class=CUSTOM-CLASS
to the URL parameters e.g. http://{URL}?custom_css_class=foo
This enables you to target specific devices in your CSS.
e.g.
/* applied to all */
#clock,
#weather,
.image--metadata {
padding: 4rem;
}
/* applied to devices with `custom_css_class=foo` */
.foo #clock,
.foo #weather,
.image--metadata {
padding: 2rem;
}
What's Changed
🚀 New Features
- add custom css class by @damongolding in #372
Full Changelog: v0.20.1...v0.20.2