1. Download and include the compiled CSS file css-file-icons.css on the page.
<link rel="stylesheet" href="build/css-file-icons.css">
2. Add the CSS class fi and an extension class of your choice to the DIV element as follows:
class="brush:xml"><div class="fi fi-doc"> <div class="fi-content">Word</div> </div> <div class="fi fi-docx"> <div class="fi-content">Word</div> </div>
3. Adjust the size of the file icons with the following classes:
.fi.fi-size-xs: extra small.fi.fi-size-sm: default.fi.fi-size-md: middle size.fi.fi-size-lg: large.fi.fi-size-xl: extra large<div class="fi fi-doc fi-size-lg"> <div class="fi-content">Word</div> </div>
4. Set the radius of the icon border.
07/31/2025
01/10/2021
08/31/2020
01/14/2018
11/25/2018
The post 95 File Type/Extension Icons In Pure CSS – CSS file icons appeared first on CSS Script.
Nintendo has announced a Nintendo Direct revealing the final trailer for The Super Mario Galaxy…
Adriaan de Jongh and Sylvain Tegroeg did not necessarily set out to create a new…
50 Years Ago Florence merchants, irate over the “surprise” installation of 27 no-parking signs yesterday…
The post Photo: The path to education appeared first on Daily Hampshire Gazette.
NORTHAMPTON — Picture Main Street, a project planned to remake the city’s downtown, has been delayed…
BOSTON — Sen. Cindy Friedman banged the gavel multiple times, but it didn’t stop simmering…
This website uses cookies.