Big text and big gradient
How do I make an big text and big gradient?
A rotating gradient background, clean clear typography, big text!. What is a big text and big gradient? How do you make a big text and big gradient? This script and codes were developed by Luuk Lamers on 22 January 2023, Sunday.
Big text and big gradient - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Big text and big gradient</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="fullscreen white" data-rotate> <div class="centered"> <h1>xaddict</h1> <span>creative</span> mind<br/> <span>curious</span> designer<br/> <span>concise</span> developer </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Big text and big gradient - Script Codes CSS Codes
* { box-sizing: border-box;
}
html,
body { height: 100%; font-family: Helvetica Neue, Helvetica, sans-serif; font-weight: 100;
}
.fullscreen { display: block; width: 100%; height: 100%; position: relative;
}
.centered { font-size: 32px; width: 300px; height: 300px; margin: auto; position: absolute; top: 0; right: 0; bottom: 0; left: 0; text-align: left; line-height: 1.2; letter-spacing: 2px;
}
.white { color: white;
}
span { width: 6ch; display: inline-block;
}
h1 { font-size: 100px; margin-bottom: 0; -webkit-font-smoothing: antialiased;
}
[data-rotate] { background: -webkit-linear-gradient(#1ad6fd, #1d62f0); background: linear-gradient(#1ad6fd, #1d62f0);
}
Big text and big gradient - Script Codes JS Codes
$("[data-rotate]").each(function(){ var el = $(this); var rot = 0; var bg = $(this).css('background-image'); //console.debug(bg); if(bg.indexOf("linear-gradient") != -1){ var args = bg.replace("linear-gradient(",""); args = args.slice(0, - 1); if(args.indexOf("to") != -1 || args.indexOf("deg") != -1){ args = args.split(","); args.shift(); args = args.join(","); } setInterval(function(){ el.css("background-image","linear-gradient("+ rot +"deg, "+ args +")"); rot++; },15); } else { // no linear-gradient }
});
Developer | Luuk Lamers |
Username | xaddict |
Uploaded | January 22, 2023 |
Rating | 3 |
Size | 2,796 Kb |
Views | 6,072 |
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 |
Individual Element rotation | 6,597 Kb |
Continuum | 2,307 Kb |
Flexbox layout sidebars and content | 5,099 Kb |
SVG animated patterns | 2,463 Kb |
3D valve | 2,396 Kb |
CSS object-fit fallback with plain JS | 4,895 Kb |
Fibonacci rotating spiral | 2,519 Kb |
CSS Hex Color Clock | 3,351 Kb |
CSSDAY in CSSGRID | 3,387 Kb |
Bubble Pop Menu | 4,655 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 |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Two Element Typeface | Chrisota | 4,942 Kb |
Prototype Responsive Homepage | Heyitsolivia | 7,677 Kb |
Image grid with captions | Mchernin34 | 2,222 Kb |
No Vacancy 404 CSS Only | Sethkontny | 0 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Click Based Rotation Demo | Zeaklous | 2,086 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
Siema - add pagination to prototype | Pawelgrzybek | 2,575 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!