Skip to content
New issue

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

Add XL breakpoint support #236

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/index.min.css

Large diffs are not rendered by default.

243 changes: 237 additions & 6 deletions dist/flexboxgrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
order: 1;
}

@media only screen and (min-width: 48em) {
@media only screen and (min-width: 36em) {
.container {
width: 49rem;
width: 37rem;
}

.col-sm,
Expand Down Expand Up @@ -497,9 +497,9 @@
}
}

@media only screen and (min-width: 64em) {
@media only screen and (min-width: 48em) {
.container {
width: 65rem;
width: 49rem;
}

.col-md,
Expand Down Expand Up @@ -728,9 +728,9 @@
}
}

@media only screen and (min-width: 75em) {
@media only screen and (min-width: 62em) {
.container {
width: 76rem;
width: 63rem;
}

.col-lg,
Expand Down Expand Up @@ -957,4 +957,235 @@
-ms-flex-order: 1;
order: 1;
}
}

@media only screen and (min-width: 75em) {
.container {
width: 76rem;
}

.col-xl,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-offset-0,
.col-xl-offset-1,
.col-xl-offset-2,
.col-xl-offset-3,
.col-xl-offset-4,
.col-xl-offset-5,
.col-xl-offset-6,
.col-xl-offset-7,
.col-xl-offset-8,
.col-xl-offset-9,
.col-xl-offset-10,
.col-xl-offset-11,
.col-xl-offset-12 {
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.5rem;
padding-left: 0.5rem;
}

.col-xl {
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0;
max-width: 100%;
}

.col-xl-1 {
-ms-flex-preferred-size: 8.33333333%;
flex-basis: 8.33333333%;
max-width: 8.33333333%;
}

.col-xl-2 {
-ms-flex-preferred-size: 16.66666667%;
flex-basis: 16.66666667%;
max-width: 16.66666667%;
}

.col-xl-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}

.col-xl-4 {
-ms-flex-preferred-size: 33.33333333%;
flex-basis: 33.33333333%;
max-width: 33.33333333%;
}

.col-xl-5 {
-ms-flex-preferred-size: 41.66666667%;
flex-basis: 41.66666667%;
max-width: 41.66666667%;
}

.col-xl-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}

.col-xl-7 {
-ms-flex-preferred-size: 58.33333333%;
flex-basis: 58.33333333%;
max-width: 58.33333333%;
}

.col-xl-8 {
-ms-flex-preferred-size: 66.66666667%;
flex-basis: 66.66666667%;
max-width: 66.66666667%;
}

.col-xl-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%;
max-width: 75%;
}

.col-xl-10 {
-ms-flex-preferred-size: 83.33333333%;
flex-basis: 83.33333333%;
max-width: 83.33333333%;
}

.col-xl-11 {
-ms-flex-preferred-size: 91.66666667%;
flex-basis: 91.66666667%;
max-width: 91.66666667%;
}

.col-xl-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}

.col-xl-offset-0 {
margin-left: 0;
}

.col-xl-offset-1 {
margin-left: 8.33333333%;
}

.col-xl-offset-2 {
margin-left: 16.66666667%;
}

.col-xl-offset-3 {
margin-left: 25%;
}

.col-xl-offset-4 {
margin-left: 33.33333333%;
}

.col-xl-offset-5 {
margin-left: 41.66666667%;
}

.col-xl-offset-6 {
margin-left: 50%;
}

.col-xl-offset-7 {
margin-left: 58.33333333%;
}

.col-xl-offset-8 {
margin-left: 66.66666667%;
}

.col-xl-offset-9 {
margin-left: 75%;
}

.col-xl-offset-10 {
margin-left: 83.33333333%;
}

.col-xl-offset-11 {
margin-left: 91.66666667%;
}

.start-xl {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
text-align: start;
}

.center-xl {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}

.end-xl {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
text-align: end;
}

.top-xl {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
}

.middle-xl {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}

.bottom-xl {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
}

.around-xl {
-ms-flex-pack: distribute;
justify-content: space-around;
}

.between-xl {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}

.first-xl {
-webkit-box-ordinal-group: 0;
-ms-flex-order: -1;
order: -1;
}

.last-xl {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
}
}
2 changes: 1 addition & 1 deletion dist/flexboxgrid.min.css

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flexboxgrid",
"version": "6.3.2",
"version": "7.0.0",
"description": "Grid based off of CSS3 flexbox specification",
"style": "dist/flexboxgrid.css",
"main": "dist/flexboxgrid.css",
Expand Down
Loading