Applying multiple classes, or targetting a google font class in NextJS
Anyone know how to do this?
I've got the font working on my h1, but I don't know how to target it. You can't target "h1" in nextjs for some reason, so I need to give it a class... but I can't seem to add multiple classes to this element.
1 Reply
Issue I'm having is, how to add a class to this
I don't know why but I can't just target the h1 to style it in my page.modules.css file, so I have to class everything. but I can't add a class to this , because it already ahs dancingScript.className on it
so it's a little confusing
you can but only in the global css file, in page.modules.css for my page.jsx, it doesn't let me
I have no idea how I add a class to style this