gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
<!DOCTYPE html> <html> <head> <style> body { margin: 0; padding: 0; background-color:…
- User
.header { background-color: #1A2C38; height: 100px; width: 100%; position: fixed; top: 0; left: 0; } #loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); display: none; justify-content: center; align-items: center; display: flex; flex-direction: column; color: white; } .loader { border: 6px solid #f3f3f3; border-top: 6px solid #3498db; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }#new-box { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, 10%); width: 450px; height: 400px; margin-top: -250px; /* Half of the height / margin-left: -250px; / Half of the width */ border-radius: 15px; background-color: white; }
</svg> </div> <div id="loading-screen"> <div class="loader"></div> <h2 style="font-family: Arial, sans-serif;">Checking browser…</h2> </div> <div id="new-box"></div> <script> document.addEventListener("DOMContentLoaded", function() { setTimeout(function() { document.getElementById("loading-screen").style.display = "flex"; }, 00); setTimeout(function() { document.getElementById("new-box").style.display = "block"; }, 2000); window.onload = function() { document.getElementById("loading-screen").style.display = "none"; document.getElementById("content").style.filter = "none"; document.body.style.overflow = "auto"; } }); </script>Modify this to add a blue stripe to the top of the new box.
- Assistant