A responsive nav with a grid layout using template 'repeat(3, 1fr)', containing items with small text and :hover { background-color: #555; color: white; }.
<nav style='display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; :hover { background-color: #555; color: white; }'><li style='color: black; border: 1px dotted yellow;'>Login</li><li style='color: white; border: 1px dotted green;'>Choose Option</li><li style='color: gray; border: 1px solid red;'>Submit</li><li style='color: yellow; border: 1px dashed cyan;'>Search</li><li style='color: blue; border: 1px dotted black;'>Choose Option</li></nav> @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }