Big text and big gradient

Developer
Size
2,796 Kb
Views
6,072

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 Previews

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 }
});
Big text and big gradient - Script Codes
Big text and big gradient - Script Codes
Home Page Home
Developer Luuk Lamers
Username xaddict
Uploaded January 22, 2023
Rating 3
Size 2,796 Kb
Views 6,072
Do you need developer help for Big text and big gradient?

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!

Luuk Lamers (xaddict) Script Codes
Create amazing web content 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!