From 8c3f5c031c17f44776dd3849e9852948bdbfdc39 Mon Sep 17 00:00:00 2001 From: Danish Shah Date: Fri, 19 May 2017 16:01:35 +0530 Subject: [PATCH 1/3] Particle JS added --- css/main.css | 22 + index.html | 10 +- js/app.js | 133 ++++ js/particles.js | 1541 +++++++++++++++++++++++++++++++++++++++++++++ js/particles.json | 116 ++++ particle.html | 15 + 6 files changed, 1834 insertions(+), 3 deletions(-) create mode 100644 css/main.css create mode 100644 js/app.js create mode 100644 js/particles.js create mode 100644 js/particles.json create mode 100644 particle.html diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..3bfd817 --- /dev/null +++ b/css/main.css @@ -0,0 +1,22 @@ +body{ + margin: 0; + padding: 0; +} + +#particles-js{ + width: 100%; + height: 100%; + background-color: #121212; + background-image: url(''); + background-size: cover; + background-position: 50% 50%; + background-repeat: no-repeat; +} + +.particles-js-canvas-el{ + position: absolute; +} + +.landing{ + z-index: 1; +} \ No newline at end of file diff --git a/index.html b/index.html index 827955b..fb48af9 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + @@ -15,7 +16,7 @@