This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polymer-ui-menu-button: iOS7-esque parallax effect
- Loading branch information
Yvonne Yip
committed
Sep 13, 2013
1 parent
fd62563
commit 7f014cd
Showing
2 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, user-scalable=no"> | ||
<link href="polymer-ui-menu-button.html" rel="import"> | ||
<link href="../polymer-ui-menu-item/polymer-ui-menu-item.html" rel="import"> | ||
<link href="../polymer-ui-toolbar/polymer-ui-toolbar.html" rel="import"> | ||
<link href="../../polymer-elements/polymer-flex-layout/polymer-flex-layout.html"> | ||
<script src="../../polymer/polymer.js"></script> | ||
<link href="../basic.css" rel="stylesheet"> | ||
<style> | ||
body { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body class="polymer-ui-body-text polymer-ui-light-bg"> | ||
<polymer-flex-layout vertical></polymer-flex-layout> | ||
<polymer-ui-toolbar> | ||
<polymer-ui-menu-button selected="0" parallax="true"> | ||
<polymer-ui-menu-item icon="settings" label="Settings"></polymer-ui-menu-item> | ||
<polymer-ui-menu-item icon="dialog" label="Dialog"></polymer-ui-menu-item> | ||
<polymer-ui-menu-item icon="search" label="Search"></polymer-ui-menu-item> | ||
</polymer-ui-menu-button> | ||
</polymer-ui-toolbar> | ||
<div flex></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters