<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Logos Perspective Distortion </
title
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
link
href
=
"style.css"
rel
=
"stylesheet"
/>
<
link
href
=
"perspectiveRules.css"
rel
=
"stylesheet"
/>
<
script
src
=
</
script
>
<
script
src
=
"jquery.logosDistort.js"
></
script
>
<
script
src
=
"jquery.particleground.min.js"
></
script
>
</
head
>
<
style
>
body{
text-align:center;
}
.containerDiv
{
width: 100%;
}
.section {
width: 550px;
height: 310px;
margin: 2px;
border: 1px solid black;
position: relative;
display: inline-block;
}
</
style
>
<
body
>
<
h1
style
=
"color:green"
>GeeksForGeeks</
h1
>
<
b
>Logo Distortion Plugin</
b
>
<
p
></
p
>
<
div
class
=
"containerDiv"
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/background1.jpg"
/>
<
img
alt
=
"ui"
src
=
"images/gfg1.png"
/>
</
div
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/background2.jpg"
/>
<
img
alt
=
"ui"
src
=
"images/gfg3.png"
/>
</
div
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/geeksimage1.png"
/>
<
img
alt
=
"ui"
src
=
"images/logo.png"
/>
</
div
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/geeksimage2.png"
/>
<
img
alt
=
"ui"
src
=
"images/gfg3.png"
/>
</
div
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/background2.jpg"
/>
<
img
alt
=
"ui"
src
=
"images/gfg1.png"
/>
</
div
>
<
div
class
=
"section"
>
<
img
alt
=
"background"
src
=
"images/background3.jpg"
/>
<
img
alt
=
"ui"
src
=
"images/gfg6.png"
/>
</
div
>
</
div
>
<
script
>
new logosDistort(
document.getElementsByClassName('section'),
{
container: 'self',
//This is new option
perspectiveMulti: 1.2,
mouseMode: 'container',
outerBuffer: 2,
effectWeight: 4
}
);
</
script
>
</
body
>
</
html
>