body { display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; background-color: silver; } .gameon { text-align: center; padding: 50px; width: 500%; height: 90%; position: relative; } i { font-weight: bold; font-style: italic; } li { list-style-position: inside; } .dropbtn { background-color: #3498DB; color: white; padding: 16px; font-size: 16px; border: 1px; cursor: pointer; } .dropdown { position: fixed; top: 20px; left: 20px; } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; text-align:center; } .dropdown:hover .dropdown-content { display: block; } .footer { background-color: silver; text-align: center; padding: 10px; font-size: 12px; color: black; border-top: 1px solid black; } a { text-align: right; } .footer-dropdown { position: relative; display: inline-block; } .footer-dropdown-content { display: none; position: absolute; top: 0; background-color: #fff; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } .footer-dropdown:hover .footer-dropdown-content { display: block; } marquee { animation: blink 1s infinite; } @keyframes blink { 50% { color: red; } } .dropdown-content a:hover { background-color: #555; color: white; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter