gradient-parser/index.html
2014-09-07 21:10:04 +02:00

12 lines
367 B
HTML

<html>
<head>
<script src="build/web.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
document.body.innerHTML = '<pre>'+ JSON.stringify(GradientParser.parse('radial-gradient(ellipse cover, rgb(0, 57, 115), rgb(229, 229, 190))'), null, 2) +'</pre>';
});
</script>
</head>
<body>
</body>
</html>