瀏覽代碼

Added CSS to see class trapping at work.

Herbert Vojčík 12 年之前
父節點
當前提交
30ba187c94
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 5 0
      demo.css
  2. 1 0
      demo.html

+ 5 - 0
demo.css

@@ -0,0 +1,5 @@
+/*Part of AngularJS To-do example*/
+.done-true {
+    text-decoration: line-through;
+    color: grey;
+}

+ 1 - 0
demo.html

@@ -2,6 +2,7 @@
 <head>
     <title data-trap="App #title"></title>
     <script src="vendor/amber/js/amber.js"></script>
+    <link rel="stylesheet" href="demo.css" />
 </head>
 <body>
 <script type="text/javascript">