JSFiddle - React, Tailwind, and code Playground
by MrIsaacs
HTML
<script src="http://gnius.at/gniusBackground/gniusBackground.js"></script>
<div id="myElement">
<img src="http://thecustomizewindows.com/wp-content/uploads/2011/11/bulb-wallpaper.jpg" />
</div>
CSS
body {
margin: 0;
padding: 0;
color: #CCC;
font-family: Arial;
font-size: 1em;
}
#myElement {
top: 50%;
left: 50%;
z-index: 1;
}
JavaScript
new gniusBackground('myElement',{
width : 700,
height : 462
});