Oefening 1
How do I make an oefening 1?
What is a oefening 1? How do you make a oefening 1? This script and codes were developed by Jelle Vrieswijk on 20 October 2022, Thursday.
Oefening 1 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Oefening 1</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <svg width="250px" height="150px" viewBox="0 0 250 150" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> <!-- Generator: Sketch 3.4.1 (15681) - http://www.bohemiancoding.com/sketch --> <title>Vlag</title> <desc>Created with Sketch.</desc> <defs></defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> <g id="Vlag" sketch:type="MSLayerGroup"> <rect id="paars" fill="#BD0FE1" sketch:type="MSShapeGroup" x="0" y="120" width="250" height="30" class="vlag"></rect> <rect id="blauw" fill="#4990E2" sketch:type="MSShapeGroup" x="0" y="90" width="250" height="30" class="vlag"></rect> <rect id="groen" fill="#7ED321" sketch:type="MSShapeGroup" x="0" y="60" width="250" height="30" class="vlag"></rect> <rect id="geel" fill="#F8E81C" sketch:type="MSShapeGroup" x="0" y="30" width="250" height="30" class="vlag"></rect> <rect id="oranje" fill="#F6A623" sketch:type="MSShapeGroup" x="0" y="0" width="250" height="30" class="vlag"></rect> </g> </g>
</svg> <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/1.18.0/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Oefening 1 - Script Codes CSS Codes
/*svg { display: block; margin: auto;
}*/
svg { width: 300px; height: 300px; position: absolute; left: 50%; top: 50%; margin-left: -150px; margin-top: -150px;
}
Oefening 1 - Script Codes JS Codes
// Variabelen
var paars = $("#paars");
var blauw = $("#blauw");
var groen = $("#groen");
var geel = $("#geel");
var oranje = $("#oranje");
var vlag = $("#vlag");
// Timeline
var tl = new TimelineMax({ repeat: -1
});
// Vijf kleurvlakken fly in
tl.from(paars, 0.7, { y: 0, x: 500, opacity: 0, ease: Power3.easeOut
});
tl.from(blauw, 0.7, { y: 0, x: -850, opacity: 0, ease: Power3.easeOut
});
tl.from(groen, 0.7, { y: 0, x: 500, opacity: 0, ease: Power3.easeOut
});
tl.from(geel, 0.7, { y: 0, x: -350, opacity: 0, ease: Power3.easeOut
});
tl.from(oranje, 0.7, { y: 0, x: 500, opacity: 0, ease: Power3.easeOut
});
tl.to($(".vlag"), 1, { opacity: 0.3
});
tl.staggerTo([paars, blauw, groen, geel, oranje], 1, { scale: 0.2, opacity: 0.3
}, 1);
Developer | Jelle Vrieswijk |
Username | jellevrswk |
Uploaded | October 20, 2022 |
Rating | 3 |
Size | 2,292 Kb |
Views | 22,264 |
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!
Name | Size |
A Pen by Jelle Vrieswijk | 2,657 Kb |
Deeltoets 2 | 4,127 Kb |
Datavis testje | 11,382 Kb |
Test | 3,452 Kb |
Datavis test | 1,989 Kb |
D3 Workshop Oefening 4 | 2,791 Kb |
Motion Design Eindopdracht | 8,753 Kb |
Aantekeningen D3.js | 1,359 Kb |
Datavis eindopdracht final | 4,660 Kb |
Kut D3 | 3,687 Kb |
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!
Name | Username | Size |
Website Concept | Sagoza | 3,104 Kb |
Wikipedia Viewer | Thalpha | 4,426 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Weather App | OmranAbazid | 2,596 Kb |
A Different Type of Gallery | DonPage | 2,950 Kb |
ECharts Version 3.0 - Bar Marker Chart | WebCodePro | 2,726 Kb |
HTML5 Video Autoplay | Zivcos | 1,352 Kb |
A Pen by Ben Babics | Benbabics | 2,957 Kb |
3d css cube | Semenchenko | 4,578 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!