Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta content="width=device-width, initial-scale=1" name="viewport">
  6. <title>Vintage console</title>
  7. <script>
  8. function log(message) {
  9. document.getElementById("log").textContent += message + "\n";
  10. }
  11. </script>
  12. <style>
  13. body { background-color: #333; font-size: 1.5em; padding: 0em 0.25em; }
  14. body { background: linear-gradient(to bottom, #333, #333 50%, #3a3a3a 50%, #3a3a3a); background-size: 100% 4px; }
  15. pre { color: #ffedcc; white-space: pre-wrap; word-wrap: break-word; }
  16. pre { text-shadow: 0 0 3px #ffa500; text-shadow: 0 0 10px #ffa500; }
  17. pre::after { content: "_"; font-weight: bold; animation: blinking 0.75s step-end infinite; }
  18. @keyframes blinking { from, to { visibility: hidden; } 50% { visibility: visible; } }
  19. </style>
  20. </head>
  21. <body><pre id="log"></pre></body>
  22. <script>
  23. // Your code goes here!
  24. log("Hello world!");
  25. </script>
  26. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement