border-box css

This commit is contained in:
Adam Bradley
2013-08-26 15:56:56 -05:00
parent f6b91c33e3
commit 672007d332
3 changed files with 15 additions and 3 deletions

8
dist/framework.css vendored
View File

@ -1,4 +1,9 @@
@charset "UTF-8"; @charset "UTF-8";
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
html { html {
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; } -ms-text-size-adjust: 100%; }
@ -226,7 +231,8 @@ a.list-item {
line-height: 1.3; } line-height: 1.3; }
/* the page content the panel should move around */ /* the page content the panel should move around */
.panel-page-container { .panel-page-container > * {
width: 400px;
left: 100px; } left: 100px; }
/* the container of panel content to show */ /* the container of panel content to show */

View File

@ -1,3 +1,9 @@
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing:
border-box;
box-sizing: border-box;
}
// Make sure iOS Safari doesn't scale fonts on orientation changes // Make sure iOS Safari doesn't scale fonts on orientation changes
html { html {

View File

@ -1,8 +1,8 @@
/* the page content the panel should move around */ /* the page content the panel should move around */
.panel-page-container { .panel-page-container > * {
width: 400px;
left: 100px; left: 100px;
} }