Search
 
SCRIPT & CODE EXAMPLE
 

HTML

control icon size html

you can change the size of an icon using the font size rather than setting the height and width of an icon. Here is how you do it:

<i class="fa fa-minus-square-o" style="font-size: 0.73em;"></i>
There are 4 ways to specify the dimensions of the icon.

px : give fixed pixels to your icon

em : dimensions with respect to your current font. Say ur current font is 12px then 1.5em will be 18px (12px + 6px).

pt : stands for points. Mostly used in print media

% : percentage. Refers to the size of the icon based on its original size.
Comment

PREVIOUS NEXT
Code Example
Html :: Auto Update Form 
Html :: json to html 
Html :: bootstrap 2 rows menu 
Html :: How to create web urls without extensions 
Html :: how to disable movable textarea in html 
Html :: html cache api checker 
Html :: fab model 
Html :: repolace html jaquery 
Html :: how to insert div inside input 
Html :: xpath alt contains 
Html :: lit element double click 
Html :: truncate text line clamp 
Html :: leviathan cat bookmarks.html | grep passwd | cut -d “ “ -f9–14 
Html :: 7th science book 
Html :: HTML <del 
Html :: color ful scroll bar 
Html :: Cambiar el texto de label usando Jquery 
Html :: what is merge strategy? 
Html :: how to get a result in the input form 
Html :: dashboard html arduino 
Html :: livewire wire:target multi target 
Html :: how to add multiple rows inside a row in html 
Html :: html input avoid pre spacing 
Html :: convert markdown to styled html 
Html :: site language localize by ip 
Html :: Script to provinces, states, countries 
Html :: hit a perticaulr ancor tag id 
Html :: image code 
Html :: how to make a div tag 
Html :: spin wheel game html code 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =