Socket
Socket
Sign inDemoInstall

universal-tilt.js

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-tilt.js

JavaScript & jQuery parallax tilt effect


Version published
Weekly downloads
387
decreased by-16.23%
Maintainers
1
Weekly downloads
 
Created
Source

universal-tilt.js

JavaScript & jQuery elements movement plugin based on:

Tilt.js by Gijs Rogé and vanilla-tilt.js by Șandor Sergiu

universal-tilt.js contains additional functions for mobile devices (having a gyroscope) and new Position Base option

How to use?

Place the following code in the .js file and customize the prameters:

USE JAVASCRIPT:

const tilts = document.querySelectorAll('.tilt');
const liveTilt = new UniversalTilt(tilts);

OR JQUERY:

$('.tilt').universalTilt();

License

This project is licensed under the MIT License

Keywords

FAQs

Package last updated on 03 Mar 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc