Skip to content Skip to sidebar Skip to footer

Unable To Get Particleground Javascript As Background For Div/section

Hi I am trying to get the background of a specific div on my website to be the particleground jquery background - http://jonathannicol.com/blog/2014/08/18/particleground-jquery-plu

Solution 1:

Here I've created a JSFiddle for the particleground effect you're seeking.

By making a slight change in your CSS you can easily achieve that:

section.about {
     position: absolute;
     left: 0;
     top: 50%;
     padding: 0 20px;
     width: 100%;
     text-align: center;
 }

Since reading your que I came to realize that you're using bootstrap so I've also added bootstrap library to check it is supported by particleground or not.

Please have a look. It will do the trick for you.


Post a Comment for "Unable To Get Particleground Javascript As Background For Div/section"