Font Awesome Birthday Cake (Celebrate, Dessert )

In this tutorial, we will learn how to use the font awesome birthday cake represents delightful celebrations, joy, and special occasions. It’s perfect for festive design

Fontawesome Version 4.X

birthday cake

<i class='fa fa-birthday-cake'></i>

birthday cake

<i class='fa fa-birthday-cake' style='color: white'></i>

birthday cake

<i class='fa fa-birthday-cake' style='color: red'></i>

birthday cake

<i class='fa fa-birthday-cake' style='color: blue'></i>

birthday cake

<i class='fa fa-birthday-cake' style='color: #f3da35'></i>
Try it Yourself


Fontawesome Version 5.X

birthday cake

<i class='fas fa-birthday-cake'></i>

birthday cake

<i class='fas fa-birthday-cake' style='color: white'></i>

birthday cake

<i class='fas fa-birthday-cake' style='color: red'></i>

birthday cake

<i class='fas fa-birthday-cake' style='color: blue'></i>

birthday cake

<i class='fas fa-birthday-cake' style='color: #f3da35'></i>
Try it Yourself

How to add Font Awesome birthday cake Icon ?

Font Awesome Icon fa fa birthday cake Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-birthday-cake'></i>
Icon Code -
fa fa-birthday-cake

HTML Code

Get complete html code for icon birthday cake

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-birthday-cake'></i>
                        </body>
                    </html>                    

Tags

birthday,celebrate,dessert,cake

Change Font Awesome Icon Birthday cake Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
    .blue-color {
        color:blue;
    }
     
    .green-color {
        color:green;
    }
     
    .teal-color {
        color:teal;
    }
     
    .yellow-color {
    color:yellow;
    }
    
    .red-color {
        color:red;
    }
   </style>
    
     <i class='fa fa-birthday-cake blue-color'></i>
      <i class='fa fa-birthday-cake green-color'></i>
      <i class='fa fa-birthday-cake teal-color'></i>
      <i class='fa fa-birthday-cake yellow-color'></i>
      <i class='fa fa-birthday-cake red-color'></i>
      

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons
 

 

Advertisements



Advertisements



Looking For More Icons?