Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to add icon in javascript

<!doctype html>
<html>
    <head>
        <title>Essential JS 2 </title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8"  />
        <link href="./node_modules/@syncfusion/ej2/material.css" rel="stylesheet" />
        <style>
            .e-search:before{
                content:'e993';
            }
            .e-upload:before{
                content: 'e725';
            }
            .e-font:before{
                content: 'e34c';
            }
        </style>
    </head>

    <body>
        <div class="icons">
            <ul>
                <li><span class="e-icons e-search"></span></li>
                <li><span class="e-icons e-settings"></span></li>
                <li><span class="e-icons e-upload"></span></li>
                <li><span class="e-icons e-font"></span></li>
            </ul>
        </div>
    </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to check if it is the current time day.js 
Javascript :: javascript github 
Javascript :: add webpack to react project 
Javascript :: CHECKING TYPE OF ARRAY 
Javascript :: javascript set() method 
Javascript :: superagent vs axios 
Javascript :: lodash isNil 
Javascript :: Passing a state as a prop in react 
Javascript :: send a message in every guild discord.js 
Javascript :: multiple refs react 
Javascript :: text slider in react js 
Javascript :: history.pushstate 
Javascript :: emailjs react 
Javascript :: big o theory 
Javascript :: named parameters 
Javascript :: js add margin with variable 
Javascript :: pass function with parameter as prop 
Javascript :: match if 
Javascript :: arrow function in es6 
Javascript :: reducer react 
Javascript :: save to local storage 
Javascript :: how to select a dom element in react 
Javascript :: how to make chrome extension js 
Javascript :: an array of functions 
Javascript :: how to make popup modal in jquery with example 
Javascript :: react-drag-drop-files open twice 
Javascript :: react onclick remove component 
Javascript :: javascript benchmark 
Javascript :: javascript unicode 
Javascript :: padstart in javascript 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =