view 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 source

<!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>