Home > Software design >  Make sticky menu by tailwindcss?
Make sticky menu by tailwindcss?

Time:02-18

How to make right side "table of content" sticky when scroll down? Here is the code: https://play.tailwindcss.com/9c9TH4v78v

CodePudding user response:

Remove sticky top-0 from

<!--Sidebar-->
<div >

and move to

<!--Authors-->
<div >

like this https://play.tailwindcss.com/EgEE1GKAdA

  • Related