screen_rotation
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> <div class="container"> <h1 class="text-center">Font Awesome 5 Twitter X</h1> <div class="card"> <div class="icon-container"> <i class="fab fa-twitter"></i> </div> <div class="card-content"> <span>Old Twitter Logo</span> </div> </div> <div class="card"> <div class="icon-container"> <i class='fas fa-window-close'></i </div> <div class="card-content"> <span> Window close (X Icon)</span> </div> </div> </div> <div class="card"> <div class="icon-container"> <i class="twitter x [Not Available]"></i> </div> <div class="card-content"> <span>🐦 Twitter 𝕏 Coming Soon... 🚀🎉</span> </div> </div> </div> <!-- Add Clipboard.js library to enable copy functionality --> <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.10/clipboard.min.js"></script> <script> // Initialize Clipboard.js document.querySelectorAll('.copy-button').forEach(button => { new ClipboardJS(button); button.addEventListener('click', () => { alert('Text copied to clipboard!'); }); }); <script></script> <style> /* Reset default styles and set a light background color */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f8f8f8; } /* Create a centered container with a subtle box shadow and rounded corners */ .container { max-width: 800px; margin: 0 auto; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); background-color: #fff; border-radius: 8px; } /* Center text within elements that use this class */ .text-center { text-align: center; } /* Card styles */ .card { border: 1px solid #ccc; padding: 20px; margin-top: 20px; display: flex; /* Display cards in a row */ border-radius: 4px; transition: box-shadow 0.3s ease; /* Add a smooth transition on hover */ } /* Center icons within the icon container */ .icon-container { display: flex; justify-content: center; align-items: center; min-width: 40px; } /* Increase the icon size and use Twitter blue color for all icons */ .icon-container i { font-size: 32px; color: #1DA1F2; } /* Add more spacing between the icon and content */ .card-content { margin-left: 20px; } /* Increase the font size, use a dark text color for the content, and add some emphasis */ .card-content span { font-size: 18px; color: #333; font-weight: bold; } /* Highlight the card on hover with a subtle box shadow */ .card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } </style> </body> </html>