Live
Run
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body> <h1>fa fa-mobile-phone</h1> <i class='fa fa-mobile-phone'></i> <i class='fa fa-mobile-phone' style='font-size:20px'></i> <i class='fa fa-mobile-phone' style='font-size:36px;color:red'></i> <button class='custom-button'><i class='fa fa-mobile-phone'></i> </button> <style> .custom-button { margin-top:10px; display:block; padding: 10px 20px; font-size: 16px; font-weight: bold; cursor: pointer; border: none; border-radius: 5px; background-color: #ad6800; color: #fff; transition: background-color 0.3s ease; } .custom-button:hover { background-color: #874d00; } </style> </body> </html>