Live
Run
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet" /> </head> <body> <h1>fas fa-utensils</h1> <i class='fas fa-utensils'></i> <i class='fas fa-utensils' style='font-size:20px'></i> <i class='fas fa-utensils' style='font-size:36px;color:red'></i> <button class='custom-button'><i class='fas fa-utensils'></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>