Mercurial > nebulaweb3
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/node_modules/shoestring/test/console.html Sat May 31 09:21:51 2025 +0800 @@ -0,0 +1,18 @@ +<!doctype html> +<html> +<head> + <script src="../dist/shoestring-dev.js"></script> + <script> + 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.\" );" ); + </script> + <style> + p { background: #fff; font-family: sans-serif; } + p.foo { background: green; padding: 2em; font-size: 1.5em; color: #fff; -webkit-transition: all 1s elastic; } + </style> +</head> +<body> + <p>hey buddy. check the JS console.</p> + <div id="foo"></div> + <div id="bar"></div> +</body> +</html> \ No newline at end of file