mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
adding tests for both subheaders and subfooters
This commit is contained in:
88
test/css/subheaders.html
Normal file
88
test/css/subheaders.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html ng-app="ionic">
|
||||
<head>
|
||||
<script src="../../dist/js/ionic.bundle.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Header</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
|
||||
<link href="../../dist/css/ionic.css" rel="stylesheet">
|
||||
<style>
|
||||
.bar {
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="bar bar-header">
|
||||
<h1 class="title">Header title</h1>
|
||||
</div>
|
||||
|
||||
<div class="bar bar-subheader">
|
||||
<h3 class="title">Subheader title</h3>
|
||||
</div>
|
||||
|
||||
<ion-content class="content padding has-header has-subheader">
|
||||
<p>Content element must have "has-header" "has-subheader" as a classname.</p>
|
||||
<p>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
Content<br>
|
||||
</p>
|
||||
</ion-content>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user