Support Starter Pen

Developer
Size
2,157 Kb
Views
46,552

How do I make an support starter pen?

Loads TweenMax and jQuery to enable the creation of hassle-free demos. What is a support starter pen? How do you make a support starter pen? This script and codes were developed by GreenSock on 11 June 2022, Saturday.

Support Starter Pen Previews

Support Starter Pen - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Support Starter Pen</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="box red" id="redBox"></div>
<div class="box blue" id="blueBox"></div>
<button id="restart">restart</button> <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/utils/Draggable.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Support Starter Pen - Script Codes CSS Codes

body { font-family:sans-serif;
}
h1 { margin: 5px 0;
}
h3 { margin:0; font-size:16px;
}
.demo { width:600px; height:120px; background-color:black; position:relative;
}
.box { width:50px; height:50px; position:relative; margin-bottom:2px;
}
.red { background-color:red;
}
.blue { background-color:blue;
}
.green { top:60px; left:25px; background-color:green;
}
.nav { width:600px; background-color:#ccc; text-align:right;
}
button { padding:10px; font-size:20px;
}

Support Starter Pen - Script Codes JS Codes

var tl = new TimelineLite();
tl.to(".red", 1, {x:500}) .to(".blue", 1, {x:500});
$("#restart").click(function(){ tl.restart();
})
/* This Pen Loads the Following TweenMax: latest version -TweenLite -TweenMax -TimelineLite -TimelineMax -CSSPlugin -BezierPlugin -DirectionalRotationPlugin -AttrPlugin -RoundPropsPlugin -EasePack Please use the minimal amount of code possible to recreate the problem you are experiencing.
*/
Support Starter Pen - Script Codes
Support Starter Pen - Script Codes
Home Page Home
Developer GreenSock
Username GreenSock
Uploaded June 11, 2022
Rating 3.5
Size 2,157 Kb
Views 46,552
Do you need developer help for Support Starter Pen?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

GreenSock (GreenSock) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!