screen_rotation
Copied to Clipboard
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" /> </head> <body> <div class="container"> <h1>Font Awesome Youtube Square HTML|CSS (Fa Brands fa-square-youtube) </h1> <p>Youtube Sqaure icon with button: <a class="youtube-square-button" href="#"><i class="fa-brands fa-square-youtube"> </i> Watch on Youtube</a> </p> <p>Default Size: <i class="fa-brands fa-square-youtube"></i></p> <p>Size 2xs: <i class="fa-brands fa-square-youtube fa-2xs"></i></p> <p>Size xs : <i class="fa-brands fa-square-youtube fa-xs"></i></p> <p>Size sm :<i class="fa-brands fa-square-youtube fa-sm"></i></p> <p>Size lg : <i class="fa-brands fa-square-youtube fa-lg"></i></p> <p>Size xl : <i class="fa-brands fa-square-youtube fa-xl"></i></p> <p>Size 2xl : <i class="fa-brands fa-square-youtube fa-2xl"></i></p> </div> <style> .youtube-square-button { display: inline-block; background-color: #FF0000; color: #fff; padding: 10px 15px; border-radius: 5px; text-decoration: none; font-size: 16px; transition: background-color 0.3s ease; } .youtube-square-button:hover { background-color: #FF3333; /* Set your desired background color on hover */ } .container { margin: 0 auto; width: 600px; padding: 20px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24); } </style> </body> </html>