[Question] Make grid col sticky #1426
Replies: 7 comments
-
Oh, I think I’ve run into something similar. From my experience, What worked for me (in general) was moving the If you can attach a screenshot it would help! 👍 |
Beta Was this translation helpful? Give feedback.
-
I've tried this but it didn't work.
Maybe you can give me a little example? I just want to have the col of color yellow sticky :). |
Beta Was this translation helpful? Give feedback.
-
I loaded up your original snippet here: https://codepen.io/zaydek/pen/bGdYKXL. I assume you’re trying to make the yellow column sticky across all sections, not just the grid one, right? As is, the yellow column is sticky, you just have to scroll to that section to see it. |
Beta Was this translation helpful? Give feedback.
-
You could also make it fixed across all sections: https://codepen.io/zaydek/pen/rNVYKXg. Can you draw an example or point to an existing website that does what you’re trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
Wait, the original example that you uploaded to codepen, works... I mean, that same effect is what I want but it does not work for me. I'm using the tailwind version 1.2.0 configured with Next.js... Maybe I have something wrong? I have it configured with postcss like this:
|
Beta Was this translation helpful? Give feedback.
-
I’m not sure. What I sometimes do is inspect my classes from Google Chrome’s developer tools and see if some classes aren’t being applied (because they simply don’t show up/exist). Are you doing something besides |
Beta Was this translation helpful? Give feedback.
-
I could fix it, all this time I had |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have a little question, how can I make the col of yellow color sticky? I don't know why this is not working...
Here's the html:
Beta Was this translation helpful? Give feedback.
All reactions