Fitter Happier Text
How do I make an fitter happier text?
Fully fluid headings using SVG text element. Does not require window resize events. JavaScript is only used on page load.. What is a fitter happier text? How do you make a fitter happier text? This script and codes were developed by Brent Jackson on 15 September 2022, Thursday.
Fitter Happier Text - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fitter Happier Text</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> <div class="banner-object center"> <div class="banner-body"> <h1 class="js-fht">Fitter Happier</h1> <span>Fully fluid headings using SVG</span> <a href="https://github.com/jxnblk/fitter-happier-text" target="_blank">Github</a> </div>
</div> <script src='https://jxnblk.github.io/fitter-happier-text/dist/fitter-happier-text.js'></script> <script src="js/index.js"></script>
</body>
</html>
Fitter Happier Text - Script Codes CSS Codes
body { color: white; background-color: #f48; font-weight: 600; font-family: 'Avenir Next', sans-serif; text-transform: uppercase; letter-spacing: .2em; height: 100%; box-sizing: border-box; padding: 2em; font-size: 1rem;
}
html { height: 100%;
}
.center { text-align: center;
}
.banner-object { height: 100%;
}
.banner-object:before { content: ''; display: inline-block; width: 0; height: 100%; vertical-align: middle; margin-left: -.5rem;
}
.banner-body { display: inline-block; vertical-align: middle; width: 100%; box-sizing: border-box; padding: 2em;
}
a { color: rgba(0, 0, 0, 0.6);
}
Fitter Happier Text - Script Codes JS Codes
var headings = document.querySelectorAll('.js-fht');
fitterHappierText(headings);
Developer | Brent Jackson |
Username | jxnblk |
Uploaded | September 15, 2022 |
Rating | 4 |
Size | 2,536 Kb |
Views | 46,552 |
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 |
Building SVG Icons with React | 6,280 Kb |
Eat me | 2,302 Kb |
Chrome-like Spinning Loading Indicator | 2,372 Kb |
Absolute Grid | 4,664 Kb |
Comparison of Roboto Draft vs Roboto | 2,880 Kb |
Bootstrap Thumbnail Radio Group | 2,112 Kb |
Colors | 2,808 Kb |
Flex Object Grid with Fallback | 1,864 Kb |
Dropbar | 7,946 Kb |
Paginated Tiles with CSS Multi-Column Layout | 2,832 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 Jay | Jaycode | 3,784 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Experiment | Toddmoy | 2,849 Kb |
Whyutils | LeYvan | 3,752 Kb |
Vertically rotating text with CSS | Nopr | 2,141 Kb |
Nice responsive team page | Infomiho | 3,139 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Drop Cap | Gsaiki | 1,571 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 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!