We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello as far i see, primeflex don't have a "container" and "container-fluid" class as "Bootstrap" or "Bulma".
Is it possible to integrated it ?
Here below a quick implementation to suit to my need. But it could be written more elegantly :)
.p-container-fluid { width:100%; } .p-container { margin: auto !important; } @media (min-width: 1200px) { .p-container { max-width: 1140px; width: 1140px; } } @media screen and (min-width: 992px) and (max-width: 1200px) { .p-container { max-width: 960px; width: 960px; } } @media screen and (min-width: 768px) and (max-width: 992px) { .p-container { max-width: 720px; width: 720px; } } @media screen and (min-width: 576px) and (max-width: 768px) { .p-container { max-width: 540px; width: 540px; } } @media screen and (max-width: 576px) { .p-container { max-width: 95%; width: 95%; } } .p-container-sm { margin: auto !important; } @media (min-width: 1200px) { .p-container-sm { max-width: 1140px; width: 1140px; } } @media screen and (min-width: 992px) and (max-width: 1200px) { .p-container-sm { max-width: 960px; width: 960px; } } @media screen and (min-width: 768px) and (max-width: 992px) { .p-container-sm { max-width: 720px; width: 720px; } } @media screen and (min-width: 576px) and (max-width: 768px) { .p-container-sm { max-width: 540px; width: 540px; } } @media screen and (max-width: 576px) { .p-container-sm { max-width: 95%; width: 95%; } } .p-container-md { margin: auto !important; } @media (min-width: 1200px) { .p-container-md { max-width: 1140px; width: 1140px; } } @media screen and (min-width: 992px) and (max-width: 1200px) { .p-container-md { max-width: 960px; width: 960px; } } @media screen and (min-width: 768px) and (max-width: 992px) { .p-container-md { max-width: 720px; width: 720px; } } @media screen and (min-width: 576px) and (max-width: 768px) { .p-container-md { max-width: 95%; width: 95%; } } @media screen and (max-width: 576px) { .p-container-md { max-width: 95%; width: 95%; } } .p-container-lg { margin: auto !important; } @media (min-width: 1200px) { .p-container-lg { max-width: 1140px; width: 1140px; } } @media screen and (min-width: 992px) and (max-width: 1200px) { .p-container-lg { max-width: 960px; width: 960px; } } @media screen and (min-width: 768px) and (max-width: 992px) { .p-container-lg { max-width: 95%; width: 95%; } } @media screen and (min-width: 576px) and (max-width: 768px) { .p-container-lg { max-width: 95%; width: 95%; } } @media screen and (max-width: 576px) { .p-container-lg { max-width: 95%; width: 95%; } } .p-container-xl { margin: auto !important; } @media (min-width: 1200px) { .p-container-xl { max-width: 1140px; width: 1140px; } } @media screen and (min-width: 992px) and (max-width: 1200px) { .p-container-xl { max-width: 95%; width: 95%; } } @media screen and (min-width: 768px) and (max-width: 992px) { .p-container-xl { max-width: 95%; width: 95%; } } @media screen and (min-width: 576px) and (max-width: 768px) { .p-container-xl { max-width: 95%; width: 95%; } } @media screen and (max-width: 576px) { .p-container-xl { max-width: 95%; width: 95%; } }
The text was updated successfully, but these errors were encountered:
Duplicate of #31
Sorry, something went wrong.
No branches or pull requests
Hello as far i see, primeflex don't have a "container" and "container-fluid" class as "Bootstrap" or "Bulma".
Is it possible to integrated it ?
Here below a quick implementation to suit to my need. But it could be written more elegantly :)
The text was updated successfully, but these errors were encountered: