jquery-page
Version:
jQuery Page Transitions for HTML5 Single-Page-Apps
66 lines (56 loc) • 1.26 kB
CSS
html, body {
background-color: #999999;
margin: 10px;
}
.device {
width: 250px;
height: 450px;
background-color: #333333;
padding: 20px;
border-radius: 12px 12px 12px 12px;
background: linear-gradient(to bottom, #404040 0%, #333333 49%, #282828 51%, #222222 100%);
}
.device .screen {
width: 100%;
height: 100%;
background-color: #666666;
}
.device .screen .page {
width: 100%;
height: 100%;
color: white;
font-family: sans-serif;
}
.device .screen .page[data-jquery-page-name='11'] {
background-color: red;
}
.device .screen .page[data-jquery-page-name='12'] {
background-color: purple;
}
.device .screen .page[data-jquery-page-name='21'] {
background-color: green;
}
.device .screen .page[data-jquery-page-name='22'] {
background-color: blue;
}
.device .screen .page[data-jquery-page-name='XX'] {
background-color: orange;
}
.device .screen .page .title {
width: 100%;
font-weight: bold;
font-size: 20pt;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
}
.device .screen .page .navigate {
border: 1px solid white;
margin: 5px;
padding: 5px;
width: 90%;
text-align: center;
}
.buttons {
margin-top: 20px;
}