Mercurial > nebulaweb3
comparison default/node_modules/shoestring/test/console.html @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script src="../dist/shoestring-dev.js"></script> | |
5 <script> | |
6 console.log( "oh hai.\n\nyou can play with shoestring in here. check shoestring.fn to see what other methods are available. try this first:\n\nshoestring( \"p\" ).addClass( \"foo\" ).html( \"whoa.\" );" ); | |
7 </script> | |
8 <style> | |
9 p { background: #fff; font-family: sans-serif; } | |
10 p.foo { background: green; padding: 2em; font-size: 1.5em; color: #fff; -webkit-transition: all 1s elastic; } | |
11 </style> | |
12 </head> | |
13 <body> | |
14 <p>hey buddy. check the JS console.</p> | |
15 <div id="foo"></div> | |
16 <div id="bar"></div> | |
17 </body> | |
18 </html> |