gniusBackground resizes the image in full-screen with aspec ratio depended on its browsers window size. It also has options to be scrollable or fixed.
Just add this Code below in each section.
new gniusBackground('myElement',{
scrollable : false,
width : 894,
height : 894
});
<div id="myElement">
<img src="yourImageHere" />
</div>
#myElement{
top : 50%;
left : 50%;
z-index : 1;
}
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus