18 lines
604 B
HTML
18 lines
604 B
HTML
<!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> |