Icon Fonts - CSS-Loader
How do I make an icon fonts - css-loader?
For my article 5 Use Cases for Icon Fonts on CSS-Tricks. . What is a icon fonts - css-loader? How do you make a icon fonts - css-loader? This script and codes were developed by Tim Pietrusky on 20 June 2022, Monday.
Icon Fonts - CSS-Loader - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Icon Fonts - CSS-Loader</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(http://weloveiconfonts.com/api/?family=fontelico);
/* fontelico */
[class*="fontelico-"]:before { font-family: 'fontelico', sans-serif;
}
body { margin:5em;
}
.wrapper { margin:0 auto; width:34em; height:2em;
}
span { float:left; text-align:center; margin:0 5em; animation:load 1.337s infinite ease-out reverse;
}
.wrapper span:nth-child(2) { animation:load .5s infinite linear;
}
.wrapper span:nth-child(3) { animation:load 1.25s infinite steps(18, end) forwards;
}
@keyframes load { 0% { transform: rotate(0) scale(1, 1); color:rgba(0, 0, 0, .5); } 10% { color:rgba(0, 120, 0, .5); } 20% { color:rgba(0, 120, 120, .5); } 30% { color:rgba(120, 120, 0, .5); } 40% { color:rgba(0, 0, 120, .5); } 50% { transform: rotate(180deg) scale(1.85, 1.85); color:rgba(120, 0, 0, .5); } 100% { transform: rotate(360deg) scale(1, 1); color:rgba(0, 0, 0, .5); }
}
.complex { position:relative; font-size:2em; height:2em; width:2em; position:relative; margin:0 auto; margin-top:2.75em;
}
.complex span:nth-child(1),
.complex span:nth-child(2) { position:absolute; margin:0; width:1em; height:1em;
}
.complex span:nth-child(1) { animation:load 1.25s infinite steps(18, end) forwards;
}
.complex span:nth-child(2) { font-size:3em; left:-.35em; top:-.35em; color:rgba(0, 0, 0, .3); animation:devil 3s infinite linear reverse forwards;
}
@keyframes devil { 0% { transform: scale(-1.85, 1.85); } 50% { transform: scale(1.85, -1.85); } 100% { transform: scale(-1.85, 1.85); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="wrapper"> <span class="fontelico-spin1"></span> <span class="fontelico-spin3"></span> <span class="fontelico-spin5"></span>
</div>
<div class="complex"> <span class="fontelico-emo-devil"></span> <span class="fontelico-spin4"></span>
</div> <script src="js/index.js"></script>
</body>
</html>
Icon Fonts - CSS-Loader - Script Codes CSS Codes
@import url(http://weloveiconfonts.com/api/?family=fontelico);
/* fontelico */
[class*="fontelico-"]:before { font-family: 'fontelico', sans-serif;
}
body { margin:5em;
}
.wrapper { margin:0 auto; width:34em; height:2em;
}
span { float:left; text-align:center; margin:0 5em; animation:load 1.337s infinite ease-out reverse;
}
.wrapper span:nth-child(2) { animation:load .5s infinite linear;
}
.wrapper span:nth-child(3) { animation:load 1.25s infinite steps(18, end) forwards;
}
@keyframes load { 0% { transform: rotate(0) scale(1, 1); color:rgba(0, 0, 0, .5); } 10% { color:rgba(0, 120, 0, .5); } 20% { color:rgba(0, 120, 120, .5); } 30% { color:rgba(120, 120, 0, .5); } 40% { color:rgba(0, 0, 120, .5); } 50% { transform: rotate(180deg) scale(1.85, 1.85); color:rgba(120, 0, 0, .5); } 100% { transform: rotate(360deg) scale(1, 1); color:rgba(0, 0, 0, .5); }
}
.complex { position:relative; font-size:2em; height:2em; width:2em; position:relative; margin:0 auto; margin-top:2.75em;
}
.complex span:nth-child(1),
.complex span:nth-child(2) { position:absolute; margin:0; width:1em; height:1em;
}
.complex span:nth-child(1) { animation:load 1.25s infinite steps(18, end) forwards;
}
.complex span:nth-child(2) { font-size:3em; left:-.35em; top:-.35em; color:rgba(0, 0, 0, .3); animation:devil 3s infinite linear reverse forwards;
}
@keyframes devil { 0% { transform: scale(-1.85, 1.85); } 50% { transform: scale(1.85, -1.85); } 100% { transform: scale(-1.85, 1.85); }
}
Icon Fonts - CSS-Loader - Script Codes JS Codes
/** Icon Fonts - CSS-Loader # What? # For my article "5 Use Cases for Icon Fonts" on CSS-Tricks. http://css-tricks.com/five-use-cases-for-icon-fonts # 2012 by Tim Pietrusky # timpietrusky.com
**/
Developer | Tim Pietrusky |
Username | TimPietrusky |
Uploaded | June 20, 2022 |
Rating | 3.5 |
Size | 2,940 Kb |
Views | 52,624 |
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 |
Advanced Checkbox Hack | 3,416 Kb |
Icon Fonts - Enhanced lists | 5,108 Kb |
SNES Controller | 8,625 Kb |
Custom Dropdown | 4,878 Kb |
Star Wars opening crawl from 1977 | 9,093 Kb |
Monster Energy SVG logo animated | 7,705 Kb |
Asdf | 16,941 Kb |
Breaking Bad | 10,835 Kb |
Liquid Loading | 3,135 Kb |
Full Horizontal | 4,103 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 |
Drop Cap | Gsaiki | 1,571 Kb |
Slider css only | Armandobau | 2,161 Kb |
Brian The CSS Bee | Jonitrythall | 3,922 Kb |
Gulpfile | Aimhigherwebdesign-amy | 1,765 Kb |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
A Pen by Bryan | Brydave | 2,286 Kb |
404 Page | Saransh | 2,666 Kb |
Day 11 - Calendar Card | Arnellebalane | 6,984 Kb |
Button shaking | SusanneLundblad | 2,227 Kb |
Fluid Responsive Typography | Jonmilner | 4,205 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!