Variables for shared width across page #3142
-
Hi all I'm writing an input form mask which looks like this:
The All the The grids are interrupted, however, with I've tried integrating I'd like the At the same time creating a generic I realize questions like this have been asked before regarding skeleton and tailwind, but I'd still be interested in what skeleton cracks would do in this concrete example. I hope I managed to explain sufficiently what I'd like to do: bit of a challenge on my phone. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @zuckerruebe, so just to be clear, I'm not immediately sure how this relates to Skeleton. We do provide a section in the upcoming Skeleton v3 documentation covering layouts if this is beneficial: https://next.skeleton.dev/docs/guides/layouts The thing to note about this guide is that nothing provided there is Skeleton-specific, we've just implemented HTML + Tailwind utilities for all examples. As per Grid itself, Tailwind provides a number of guides for implementing both CSS flexbox and grid features, which is our recommendation for layout. You can find information about these in the "Flexbox & Grid" section on the Tailwind docs: https://v3.tailwindcss.com/docs/flex-basis These can be a little tricky to learn, so I'm a fan of CSS Trick's guides - but they are lacking some new feature, such as subgrid, if I recall:
The goal with Skeleton is to extend and build on top of the foundation Tailwind provides, not replace it. And we we're pretty big advocates against abstracting layouts to components. As this breaks from the utility-first approach Tailwind is all about: https://v3.tailwindcss.com/docs/utility-first By it's nature, utility classes are your reusable abstraction. Components would be redundant in that case. But again, this is just our stance, and you are free to do what you wish. But if this is a request for Skeleton to add layout components, that would be highly unlikely. But hope the info above helps. |
Beta Was this translation helpful? Give feedback.
All good, just want to set expectations here in terms of my response and our level of support around this. To be clear we only provide support for Skeleton issues mostly for the sake of time. That said, I'm happy to leave this thread open for others to chime in.
I mean you're always configuring things somewhere, whether it's CSS or components. I will …