Reduce Stroke of Font-Awesome Icons
How do I make an reduce stroke of font-awesome icons?
Thinning the chunky nature of Font Awesome. The only solution I could find was to use -webkit-text-stroke, so this is not a cross browser solution. What is a reduce stroke of font-awesome icons? How do you make a reduce stroke of font-awesome icons? This script and codes were developed by Mackdoyle on 26 December 2022, Monday.
Reduce Stroke of Font-Awesome Icons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Reduce Stroke of Font-Awesome Icons</title>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> <link rel='stylesheet prefetch' href='css/naogx.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body>
<div class="wrapper"> <h2>Lighten Stroke Weight of Font Awesome Icons (Webkit Only)</h2> <p>The stroke width of <code>-webkit-text-stroke</code> is distributed from the outside of the character's stroke. Setting the width that is wider than the original will start to overlap the stroke. And when it is set to the same color as the background, is creates the appearance of a lighter stroke</p> <div class=" block inline"> <div class="icon expand-icon"></div> Original </div> <div class="block inline"> <div class="icon outline expand-icon"></div> Example of a 1px text-stroke </div> <div class="block inline"> <div class="icon overlap expand-icon"></div> Example showing how text-stroke overlaps the character stroke. </div> <div class="block inline"> <div class="icon light expand-icon"></div> Setting text-stroke to the backgroung color creates the final effect </div>
</div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Reduce Stroke of Font-Awesome Icons - Script Codes CSS Codes
.icon{ font-family:'FontAwesome'; margin:1.2rem; font-size:3.2em; color: rgba(0,0,0, 0.8); -webkit-font-smoothing: antialiased;
}
.icon .expand-icon:after{ content: "\f150";
}
.light{ -webkit-text-stroke: 4px white;
}
.supersized{ font-size: 10rem;
}
.expand-icon:after{ content: "\f150";
}
.outline{ -webkit-text-stroke: 1px red;
}
.overlap{ -webkit-text-stroke: 4px rgba(255,0,0,1);
}
.block { display: inline-block; vertical-align:top; text-align: center; width: 20%; height: 150px; border: 1px solid #999; padding: 1%; margin:1%;
}
Developer | Mackdoyle |
Username | mackdoyle |
Uploaded | December 26, 2022 |
Rating | 3 |
Size | 2,923 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 |
A Pen by mackdoyle | 15,493 Kb |
Smooth Color Fade | 2,463 Kb |
CSS Color-Shift-In | 2,697 Kb |
Calendar Date | 2,779 Kb |
Droste effect | 1,941 Kb |
Text Perspective | 4,920 Kb |
Landing lights next arrow | 3,110 Kb |
Image Badge | 1,972 Kb |
Web Font Readability Test | 4,985 Kb |
Annotations | 7,367 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 |
HTML5 Breakout | Jaysalvat | 4,873 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 Kb |
CSS3 iPad | Vikvarg | 1,766 Kb |
Atom | Bhlaird | 1,932 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Mobile Sub Menu Concept | Berdejitendra | 2,790 Kb |
Vue.js Lazy Loading | Kjbrum | 3,620 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!