-
Demo: https://cool-sticky.bss.design/ This is what I would like to replicate, is it possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'd suggest learning up on some more HTML & CSS to achieve something like this. Then going into the way that Tailwind helps out in making it quicker to add different CSS styles by using classes. But anyways, I'll help you out a little. A quick solution for you is to add this as a start before the main navigation in the header:
Then to knock down the main navigation a little bit, one way is to add a custom tailwind CSS class.
It will add I would also then increase the Hope it helps, best of luck! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! Love your boilerplate btw, it looks amazing ❤️ |
Beta Was this translation helpful? Give feedback.
I'd suggest learning up on some more HTML & CSS to achieve something like this. Then going into the way that Tailwind helps out in making it quicker to add different CSS styles by using classes.
But anyways, I'll help you out a little.
A quick solution for you is to add this as a start before the main navigation in the header:
Then to knock down the main navigation a little bit, one way is to add a custom tailwind CSS class.
Add
mt-[54px]
to your main nav.It will add
margin-top: 54px;
…