How to style navigation arrows in NextJs? #4051
Unanswered
zakariamofaddel
asked this question in
Q&A
Replies: 2 comments 8 replies
-
you can use CSS Variables. see sources: https://unpkg.com/browse/[email protected]/components/navigation/navigation.scss
|
Beta Was this translation helpful? Give feedback.
5 replies
-
You can assign css class to component or just set it directly:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I really can't understand how to change the color of the navigation arrows in my NextJs application. I read the docs multiple times and read some blog posts, but all of them either don't use React or, if they do, they simply import a stylesheet to the component and overwrite the navigation arrows with nextEl and prevEl.
I can only import css modules in my nextJs component and that won't work, because it creates a class that is made unique in the rendered HTML by adding the file name and all that good stuff.
Is there a way I can target the navigation?
Beta Was this translation helpful? Give feedback.
All reactions