ul { overflow: hidden; background-color: #42cde1; position: fixed; top: 0; margin: 0; padding: 0; width: 100%; } ul li { list-style-type: none; display: inline-block; } ul li a { display: block; color: #eeeeee; text-align: center; padding: 15px 30px 15px 20px; text-decoration: none; font-size: 18px; font-weight: bold; font-family: arial; } .navbar a:hover { color: #ffffff; } .container { padding: 18px; margin-top: 35px; height: 2000px; }
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