FitText.js Demo
How do I make an fittext.js demo?
Just a simple example of what FitText.js can doForked from Jon Christensen's Pen FitText.js Demo.. What is a fittext.js demo? How do you make a fittext.js demo? This script and codes were developed by David Rodriguez on 24 November 2022, Thursday.
FitText.js Demo - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>FitText.js Demo</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<div id="container"> <h1>The Great Gatsby</h1> <p> In my younger and more vulnerable years my father gave me some advice that I’ve been turning over in my mind ever since.</p> <p>
“Whenever you feel like criticizing any one,” he told me, “just remember that all the people in this world haven’t had the advantages that you’ve had.” </p> <p>
He didn’t say any more, but we’ve always been unusually communicative in a reserved way, and I understood that he meant a great deal more than that. In consequence, I’m inclined to reserve all judgments, a habit that has opened up many curious natures to me and also made me the victim of not a few veteran bores. The abnormal mind is quick to detect and attach itself to this quality when it appears in a normal person, and so it came about that in college I was unjustly accused of being a politician, because I was privy to the secret griefs of wild, unknown men. Most of the confidences were unsought — frequently I have feigned sleep, preoccupation, or a hostile levity when I realized by some unmistakable sign that an intimate revelation was quivering on the horizon; for the intimate revelations of young men, or at least the terms in which they express them, are usually plagiaristic and marred by obvious suppressions. Reserving judgments is a matter of infinite hope. I am still a little afraid of missing something if I forget that, as my father snobbishly suggested, and I snobbishly repeat, a sense of the fundamental decencies is parcelled out unequally at birth. </p>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://raw.github.com/davatron5000/FitText.js/master/jquery.fittext.js'></script> <script src="js/index.js"></script>
</body>
</html>
FitText.js Demo - Script Codes CSS Codes
*{ box-sizing:border-box;
}
body{ margin:20px; font-family: sans-serif; color:black;
}
#container { width: 100%; background:#ccc; padding:10px;
}
p{ font-size:1.25em; line-height:1.5em;
}
h1{ color: white; display: inline-block; font-family: "Lobster"; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: .02em .02em 0 #000; width: 100%; font-size:3em;
}
FitText.js Demo - Script Codes JS Codes
/*
$("#yourItem").fitText(1, { minFontSize: '20px', maxFontSize: '400px' });
*/
Developer | David Rodriguez |
Username | rodesco |
Uploaded | November 24, 2022 |
Rating | 3 |
Size | 2,874 Kb |
Views | 12,144 |
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 |
Responsiveness tester | 1,700 Kb |
Pricing Plan test | 2,279 Kb |
Overflow Example | 1,929 Kb |
Very Simple Responsive Navigation Toggle | 2,517 Kb |
Professional Clearfix | 1,940 Kb |
Triangle Assigment | 1,759 Kb |
Box-sizing class example | 1,675 Kb |
Clear Fix Class Example 2 | 2,092 Kb |
Flexible Embedded Media | 1,629 Kb |
Em Test | 1,784 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 |
Another brick in the wall | Fivera | 1,955 Kb |
A Pen by Patrick Cox | Pcridesagain | 2,899 Kb |
Chuck Norris Background | Manz | 1,967 Kb |
Sitemap generator for Sharepoint | Gyusza | 2,518 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Mega menu | DimaZubkov | 5,066 Kb |
Long Shadow Button | Uixcrazy | 3,550 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
Donut Chart example - MorrisJS | Capelo | 2,385 Kb |
Slider | Mohammed-fawzy | 2,634 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!