Errachidia-Morocco
How do I make an errachidia-morocco?
What is a errachidia-morocco? How do you make a errachidia-morocco? This script and codes were developed by Omar Hassane on 21 January 2023, Saturday.
Errachidia-Morocco - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Errachidia-Morocco</title> <script src="https://use.typekit.net/osv0ujj.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='siteWrap'> <div class='textMask'> <svg id="svg" class='textMask__svg'> <defs> <mask class='textMask__mask' id='mask' x='0' y='0' width='100%' height='100%'> <rect class='textMask__alpha' id="alpha" x="0" y="0" width="100%" height="100%"/> <text class='textMask__title will-animate' id="title" x="50%" y="50%" dy=".3em" text-anchor="middle">OMAR</text> </mask> </defs> <rect class='textMask__base' id="base" x="0" y="0" width="100%" height="100%"/> </svg> </div> <h1 id='siteTitle' class='siteTitle will-animate'>HASSANE</h1> <button id='replay'> Replay</button> <div id="background" class='bgImage' style='background-image:url(http://static.panoramio.com/photos/large/36389444.jpg);'></div>
</div> <script src='http://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/SplitText.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Errachidia-Morocco - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto:400,900,900italic,300);
* { box-sizing: border-box;
}
html,
body { height: 100%; overflow: hidden;
}
body { padding: 1em; font-family: 'industry', sans-serif; background-color: #fff;
}
@media (min-width: 960px) { body { padding: 2em; }
}
.siteWrap { width: 100%; height: 100%; position: relative;
}
.will-animate { visibility: hidden;
}
.textMask { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.textMask__svg { width: 100%; height: 100%; position: relative;
}
.textMask__textWrap { /* text-anchor: middle; */
}
.textMask__title { font-weight: 900; font-size: 3em; text-transform: uppercase;
}
@media (min-width: 960px) { .textMask__title { font-size: 20vh; }
}
.textMask__mask { font-weight: 900;
}
.textMask text { /* text-anchor: middle; */
}
.textMask__alpha { fill: #fff; transition: opacity .6s ease;
}
.textMask__base { fill: #fff; mask: url(#mask); transition: opacity .6s ease;
}
.siteTitle { position: absolute; top: 50%; width: 100%; text-align: center; transform: translateY(-50%); line-height: 1; margin: 0; color: #fff; font-size: 3em; font-weight: 900; text-transform: uppercase;
}
@media (min-width: 960px) { .siteTitle { font-size: 20vh; }
}
.bgImage { width: 100%; height: 100%; background-position: center left; background-size: cover; position: relative; z-index: -1;
}
#replay { border: 1px solid #fff; position: absolute; bottom: 1em; left: 50%; transform: translateX(-50%); z-index: 100; background-color: transparent; height: 50px; color: #fff; text-transform: uppercase; padding: 0 2em; transition: all .3s ease;
}
#replay:hover { background-color: #fff; color: #000;
}
Errachidia-Morocco - Script Codes JS Codes
var Intro = function() { var textMaskAlpha, textMaskTitle, background, body, tl, svg, title, replay; var _init = function() { svg = document.getElementById('svg'); textMaskAlpha = document.getElementById('alpha'); textMaskTitle = document.getElementById('title'); background = document.getElementById('background'); body = document.getElementsByTagName('body')[0]; tl = new TimelineLite({delay:1}); title = document.getElementById('siteTitle'); replay = document.getElementById('replay'); _setVisible(); _animateHero(); _addEventHandlers(); } var _addEventHandlers = function() { replay.addEventListener('click', _play, false); } var _setVisible = function() { TweenLite.set(".will-animate", {visibility: 'visible'}); } var _animateHero = function() { tl .to(svg, 0.6, { opacity: 0, scale: 1.5, transformOrigin: '50% 50%', ease:Power1.easeOut}) .from(title, 0.6, { scale: 0.5, opacity: 0, transformOrigin: '50% 50%', ease:Back.easeOut}, 0); } var _play = function() { tl.restart({delay:0.3}); } return { init: _init }
}();
Intro.init();
Developer | Omar Hassane |
Username | omodev |
Uploaded | January 21, 2023 |
Rating | 3 |
Size | 3,872 Kb |
Views | 8,096 |
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 |
Homepage | 6,048 Kb |
D3 liquid visualisation | 5,171 Kb |
Pop-up contact vacances bleues | 2,805 Kb |
Terminal animation | 2,403 Kb |
TODO | 4,271 Kb |
Smooth scrolling | 2,086 Kb |
Svg exercises 2 | 5,937 Kb |
Portfolio2 | 7,217 Kb |
Mini-projet | 5,147 Kb |
Cv | 8,159 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 |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
P1 | Vivi_Lai | 1,533 Kb |
Sticky notes with CSS3 | HaiNguyen007 | 2,146 Kb |
A bit of elegance | Hackthevoid | 9,095 Kb |
Break Out | AzazelN28 | 12,431 Kb |
Price table | Serluk | 5,928 Kb |
Cake | Kennyname | 7,220 Kb |
Project Euler Problem 17 | Bfillmer | 2,739 Kb |
Animated bar chart | CreativePunch | 3,124 Kb |
Hoi hoi | JohnTheCat | 7,248 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!