Last active
August 29, 2015 14:07
-
-
Save anoochit/b5c27d26e2150f7327fc to your computer and use it in GitHub Desktop.
polymer tutorial step 02
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
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Title Page</title> | |
<script src="components/bower_components/platform/platform.js"></script> | |
<link rel="import" href="components/bower_components/paper-elements/paper-elements.html"> | |
<link rel="import" href="components/bower_components/core-toolbar/core-toolbar.html"> | |
<style type="text/css"> | |
html,body { | |
height: 100%; | |
margin: 0; | |
background-color: #eeeeee; | |
font-family: 'RobotoDraft', sans-serif; | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} | |
core-toolbar { | |
background-color: #4285f4; | |
color: white; | |
} | |
</style> | |
</head> | |
<body> | |
<core-toolbar> | |
<paper-icon-button icon="menu"></paper-icon-button> | |
<span flex>Messages</span> | |
<paper-menu-button icon="create" halign="right"> | |
<paper-item>New Message</paper-item> | |
<paper-item>New Group Message</paper-item> | |
</paper-menu-button> | |
</core-toolbar> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment