GithubHelp home page GithubHelp logo

scrumdod / metro-tile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanlowdermilk/metro-tile

0.0 1.0 0.0 76 KB

A simple javascript UI library which creates Windows 8 Metro Tiles using CSS3

metro-tile's Introduction

metro-tile

A simple javascript UI library which creates Windows 8 Metro Tiles using CSS3

Live Demo

Click here for a live demo (Safari or Chrome required)

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

metro-tile's People

Contributors

ryanlowdermilk avatar loilo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.