Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

font-awesome-4

How do I decrease the size of a font-awesome icon?

June 5, 2023 by Tarik

Font-Awesome icons, as the name suggests, are font-based. This means to decrease their size all you have to do is decrease their font-size: .fa { font-size: 12px; }

Categories font-awesome Tags font-awesome, font-awesome-4 Leave a comment

Change color when hover a font awesome icon?

June 1, 2023 by Tarik

if you want to change only the colour of the flag on hover use this: http://jsfiddle.net/uvamhedx/ .fa-flag:hover { color: red; } <link href=”https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css” rel=”stylesheet”/> <i class=”fa fa-flag fa-3x”></i>

Categories font-awesome Tags font-awesome, font-awesome-4 Leave a comment

How to style icon color, size, and shadow of FontAwesome Icons

September 20, 2022 by Tarik

Given that they’re simply fonts, then you should be able to style them as fonts: #elementID { color: #fff; text-shadow: 1px 1px 1px #ccc; font-size: 1.5em; }

Categories css Tags css, font-awesome, font-awesome-4, icons Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa