HTML5 add a very cool picture 3D background visual difference effect Plugin Tutorial

Source: Internet
Author: User

First, installation
Bower Install Logos-distort

Ii. Methods of Use
<link href= "Assets/css/perspectiverules.css" rel= "stylesheet"/>
<script src= "Js/1.11.0/jquery.min.js" ></script>
<script src= "Assets/js/jquery.logosdistort.min.js" ></script>

Third, HTML structure
<div id= "Demo1" >

<div id= "Particle-target" ></div>

</div>

Iv. Calling plug-ins
$ ("#demo1"). Logosdistort ();


Five, configuration parameters
Enable:true,
Effectweight:1,
Enablesmoothing:true,
Smoothingmultiplier:1,
Activeonlyinside:false,
outerbuffer:1.10,
elementdepth:140,
Directions: [1, 1, 1, 1,-1,-1, 1, 1],
Weights: [0.0000310, 0.0001800, 0.0000164, 0.0000019, 0.0001200],
Container:window,
Cssclasses: {
Smartcontainer: "Ld-smart-container",
Overlapcontainer: "Ld-overlap-container",
Parent3d: "Ld-3d-parent",
Transformtarget: "Ld-transform-target",
Active: "Ld-transform-active",
Object3d: "Ld-3d-object"
},
Oninit:function () {},
Ondestroy:function () {}

The Keymob Mobile advertising platform provides Android and iOS app developers with free mobile ad optimization tools designed to help app developers maximize ad revenue and provide advertisers with the main advertising services associated with mobile devices.

HTML5 add a very cool picture 3D background visual difference effect Plugin Tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.