header{ background-color: #333; color: #fff; padding: 10px 0; } nav ul{ list-style: none; display: flex; justify-content: center; } nav li{ margin: 0 20px; } nav a{ text-decoration: none; color: #fff; }
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