We can use sticky
class when using tailwind to make an element fixed on screen while the parent element is visible.
Code:
CSS Equivalent:
Visual example: https://www.w3schools.com/howto/howto_css_sticky_element.asp
Use position sticky with tailwindcss
We can use sticky
class when using tailwind to make an element fixed on screen while the parent element is visible.
Code:
CSS Equivalent:
Visual example: https://www.w3schools.com/howto/howto_css_sticky_element.asp