You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" but when i try to use the responsive, the clausule md:align-content-start has preference in code, begin with center, not using start when as i declared align-content-center
The text was updated successfully, but these errors were encountered:
Yes, the same here. Maybe I am misunderstanding the documentation. Shouldn't sm:xxxx apply xxxx to small screens only? But it seems to be the opposite.
Please ignore my last comment. Coming from Angular Flex-Layout, that seemed to be the way it was supposed to work.
But in fact, it is a mobile-first breakpoint system. I only realized that after learning to use Tailwind and studying their documentation:
Where this approach surprises people most often is that to style something for mobile, you need to use the unprefixed version of a utility, not the sm: prefixed version. Don’t think of sm: as meaning “on small screens”, think of it as “at the small breakpoint“.
So sm: means at the breakpoint sm and above. It makes sense now, and everything is working as intended.
However, I have a little critique: The PrimeFlex documentation doesn't mention that at all. So for people some people with a different background, this can be a bit confusing.
i have a exemple of code, """
The text was updated successfully, but these errors were encountered: