Bulleted list with font-icon snippet
How do I make an bulleted list with font-icon snippet?
Change your regular bullet, with a font icon instead of a bitmap image or sprite.. What is a bulleted list with font-icon snippet? How do you make a bulleted list with font-icon snippet? This script and codes were developed by Tom Hermans on 09 December 2022, Friday.
Bulleted list with font-icon snippet - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Bulleted list with font-icon snippet</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<h2>Bulleted list with Font-Icon - snippet</h2>
<div class="narrowcolumn"> <ul class="list"> <li><a href="" title="">ENSA position on Danish recommendation on rice products for children</a></li> <li><a href="">ENSA statement on the opinion issued by Anses in France on drinks of babies</a></li> <li><a href="">ENSA position on FAO report on dietary protein quality evaluation in human nutrition</a></li> <li><a href="">Newsletter 2012 Week of Soya</a></li> </ul>
</div>
<div class="desc-column"> Bullet replaced with a font-icon glyph, in this case a FontAwesome icon. <br />Also note how the multiple lines in the LI align nicely.
</div
</body>
</html>
Bulleted list with font-icon snippet - Script Codes CSS Codes
body { font-family: sans-serif; margin: 0 auto; width: 960px; line-height: 1.5em;
}
.narrowcolumn { width: 25%; padding: 12px; background: GreenYellow; float: left;
}
.list, .desc { margin-bottom: 0; margin-left: 12px; padding: 0; list-style: none;
}
.list li, .desc li { padding-bottom: 0.375em; padding-left: 12px;
}
.list li:before, .desc li:before { content: "\f105"; font-family: "FontAwesome"; margin: 0 12px 0 -18px;
}
.desc-column { float: left; width: 70%; padding: 12px;
}
Developer | Tom Hermans |
Username | tomhermans |
Uploaded | December 09, 2022 |
Rating | 3 |
Size | 2,452 Kb |
Views | 16,192 |
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 |
StickyNav | 4,306 Kb |
CSS Solar system animation | 2,390 Kb |
Taming data tables | 2,306 Kb |
Sticky Navigation | 4,529 Kb |
Tryout | 2,820 Kb |
Snappy snippet try | 4,189 Kb |
CSS Kwicks | 2,202 Kb |
Table Row Toggle | 2,829 Kb |
Styled selectbox | 1,901 Kb |
CSS3 Shapes reference | 2,574 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 |
Weird glowy CSS3 game | Toneworm | 3,684 Kb |
A Pen by Huan Nghiem | Nightshade | 10,646 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Replace url via jquery | Serluk | 1,429 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Playing with FlexBox | _Billy_Brown | 3,162 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Hexagons | Ashmind | 4,360 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!