Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(whiteframe): update breakpoints in whiteframe class demo
Browse files Browse the repository at this point in the history
Use the same breakpoints as in attribute demo.
This changes the breakpoints to the current layout breakpoints.
And annotated the media queries with the given breakpoint.

  Closes #6911
  • Loading branch information
devversion authored and ThomasBurleson committed Jan 30, 2016
1 parent 7417b3b commit d2913a9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/whiteframe/demoBasicClassUsage/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ md-whiteframe {
margin: 30px;
height: 100px;
}

/* For breakpoint `-xs` */
@media (max-width: 599px) {
md-whiteframe {
margin: 7px;
Expand All @@ -13,6 +15,8 @@ md-whiteframe {
font-size: 0.4em;
}
}

/* For breakpoint `-sm` */
@media (min-width: 600px ) and (max-width: 959px) {
md-whiteframe {
margin: 20px;
Expand All @@ -22,7 +26,9 @@ md-whiteframe {
font-size: 0.6em;
}
}
@media (min-width: 960px ) and (max-width: 1199px) {

/* For breakpoint `-md` */
@media (min-width: 960px ) and (max-width: 1279px) {
md-whiteframe {
margin: 20px;
height: 90px;
Expand All @@ -33,7 +39,8 @@ md-whiteframe {
}
}

@media (min-width: 1200px) {
/* For breakpoint `-gt-md` */
@media (min-width: 1280px) {
md-whiteframe {
margin: 25px;
height: 100px;
Expand Down

0 comments on commit d2913a9

Please sign in to comment.