Socket
Book a DemoInstallSign in
Socket

lightrope.js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightrope.js

Add some animated Christmas light to your website. No effort required. Vanilla JS

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

LIGHTROPE.js

Add some animated Christmas light to your website. No effort required.

image

INSTALLATION

  • Insert this tag at the end of your website's html code (before the </body> tag):

<script src="https://cdn.jsdelivr.net/npm/lightrope.js/lightrope.js"></script>

  • It's done. Merry Christmas!

OPTIONAL

If you have a light background you might want to add some darker shadow behind the lightbulbs... there's an option for that too. <script src="https://cdn.jsdelivr.net/npm/lightrope.js/lightrope.js?darkShadow=1"></script>

It looks like this image

NOTES

The CSS file is automatically loaded, so you don't need to manually insert it in your html code.

Please note that I didn't write the full CSS itself, I've found it somewhere in the web and packaged in an easy to use fashion: just load the js file, and it will inject all the needed HTML and CSS.

Keywords

christmas

FAQs

Package last updated on 17 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts