Permalink
Browse files

add examples

  • Loading branch information...
1 parent f911172 commit cbcb0ca48e85ff4a286586b5ba08e17b6dc760b2 @cho45 committed Feb 27, 2012
Showing with 37 additions and 0 deletions.
  1. +7 −0 example/base.tass
  2. +18 −0 example/index.html
  3. +11 −0 example/styles.tass
  4. +1 −0 example/tass.js
View
@@ -0,0 +1,7 @@
+@mixin border-radius ($args) {
+ -moz-border-radius: $args;
+ -webkit-border-radius: $args;
+ -o-border-radius: $args;
+ -ms-border-radius: $args;
+ border-radius: $args;
+}
View
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title></title>
+ <meta charset="utf-8"/>
+ <link rel="stylesheet/tass" type="text/x-tass" href="base.tass"/>
+ <link rel="stylesheet/tass" type="text/x-tass" href="styles.tass"/>
+ <script type="text/javascript" src="tass.js"></script>
+ </head>
+ <body>
+ <div id="content">
+ <h1>This is sample.</h1>
+ </div>
+ <footer id="global-footer">
+ <p>2012</p>
+ </footer>
+ </body>
+</html>
View
@@ -0,0 +1,11 @@
+#content {
+ background: #efefef;
+ @include border-radius(10px);
+ padding: 10px;
+}
+
+#global-footer {
+ p {
+ text-align: center;
+ }
+}
View

0 comments on commit cbcb0ca

Please sign in to comment.