mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
border-box css
This commit is contained in:
8
dist/framework.css
vendored
8
dist/framework.css
vendored
@ -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 */
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user