Home › CSS Tutorial › CSS icons
CSS icons
Use symbols as icons.
Icon libraries load a font or SVG. Without libraries you can use Unicode symbols or inline SVG and size them with CSS.
Example code
<style>.i{font-size:32px;color:#e4572e;margin-right:10px}</style>
<span class='i'>★</span><span class='i'>♥</span><span class='i'>☀</span>