mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Bar styles and example
This commit is contained in:
52
example/bar.html
Normal file
52
example/bar.html
Normal file
@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example</title>
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<!-- Makes your prototype chrome-less once bookmarked to your phone's home screen -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<!-- Set a shorter title for iOS6 devices when saved to home screen -->
|
||||
<meta name="apple-mobile-web-app-title" content="">
|
||||
|
||||
<!-- Set Apple icons for when prototype is saved to home screen -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="touch-icons/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="touch-icons/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="touch-icons/apple-touch-icon-57x57.png">
|
||||
|
||||
<link rel="stylesheet" href="../dist/framework-with-theme.css">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="app.css">
|
||||
|
||||
<script src="app.js"></script>
|
||||
</head>
|
||||
<body ontouchstart="">
|
||||
<header class="bar bar-header bar-default">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-secondary" style="top: 50px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-primary" style="top: 100px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-success" style="top: 150px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-warning" style="top: 200px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-danger" style="top: 250px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
<header class="bar bar-header bar-dark" style="top: 300px">
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user