Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanlowdermilk/metro-tile
A simple javascript UI library which creates Windows 8 Metro Tiles using CSS3
https://github.com/ryanlowdermilk/metro-tile
Last synced: 11 days ago
JSON representation
A simple javascript UI library which creates Windows 8 Metro Tiles using CSS3
- Host: GitHub
- URL: https://github.com/ryanlowdermilk/metro-tile
- Owner: ryanlowdermilk
- Created: 2012-03-10T23:43:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-06-01T16:35:52.000Z (over 3 years ago)
- Last Synced: 2024-08-02T14:08:27.523Z (4 months ago)
- Language: CSS
- Homepage:
- Size: 14.6 KB
- Stars: 38
- Watchers: 11
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## metro-tile
A simple javascript UI library which creates Windows 8 Metro Tiles using CSS3
### Getting started
* Include metro.js and metro.css
* Create a metro-surface<div class="metro-surface">
* Place a metro-tile inside the metro-surface<div class="metro-tile">This is a metro tile</div>
### Example<html>
<head>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.17/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://cdn.ryanlowdermilk.com/metro-tile-min.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn.ryanlowdermilk.com/metro-tile-min.css">
</head>
<body>
<div class="metro-surface">
<table>
<tr>
<td><div class="metro-tile metro-tile-blue">Green</div></td>
<td><div class="metro-tile metro-tile-small metro-tile-orange">Orange<br>w/ metro-small</div></td>
<td><div class="metro-tile metro-tile-small metro-tile-purple">Purple</div></td>
<td><div class="metro-tile metro-tile-xbox-green">Xbox Green</div></td>
</tr>
<tr>
<td colspan="3"><div style="width: 480px; height: 104px" class="metro-tile metro-tile-green">Blue w/ custom size</div></td>
<td><div class="metro-tile metro-tile-pink">Pink</div>
</tr>
</table>
</div>
</body>
</html>### Coming Soon...
* Knockout.js and ASP.NET Web API data binding support
* Front and Back Tile support w/ flip animation
* Auto Flip on data binding update