Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can we use glyphicon icons in twitter bootstrap?
written the code given in the "http://getbootstrap.com/components/#glyphicons-glyphs" but not executed...

the code is:


but it's not working.
Posted
Updated 20-May-19 18:47pm

try this code

XML
<button type="submit" name="edit" class="edit-button btn btn-primary">
   <i class="icon icon-edit icon-white"></i>
   Edit
</button>
 
Share this answer
 
bootstrap.min.css plugin have some bugs so include this plugin also
then we will get the glyphicon.
 
Share this answer
 
try this :
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>

<body>
<p>Envelope icon: <span class="glyphicon glyphicon-envelope"></span></p>
</body>
</html>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900