The icon fonts used in online projects are known as glyphicons. Bootstrap includes 260 Glyphicons from the Halflings Glyphicons set.
Glyphicons include the following:
glyphicon of an envelope
glyphicon to print
glyphicon search
glyphicon, glyphicon, glyphicon, glyphicon,
Syntax of Glyphicons
The "name" element of the syntax must be altered to produce the desired Glyphicon.
Consider the following scenario: If you wish to make a "envelope" glyphicon, you'll need to use the following syntax:
Let's take an example to see the different ways to use glyphicons:
Envelope icon:
14.Envelope icon as a link: 15. 16.
17.Search icon:
18.Search icon on a button: 19. 22.
23.Search icon on a styled button: 24. 27.
28.Print icon:
29.Print icon on a styled link button: 30. 31. Print 32. 33.
34.Dropdown menus are contextual, toggleable menus that display links in a list manner. It allows users to select one value from a collection of options. The dropdown JavaScript plugin can be used to make this interactive.
The dropdown menu must be wrapped within the class.
To make a Bootstrap Dropdown, use the dropdown.
The .dropdown class is used to indicate a dropdown menu.
13.Use the .dropdown-menu class to actually build the dropdown menu.
14.To open the dropdown menu, use a button or a link with a class of .dropdown-toggle and data-toggle="dropdown".
15.
|