Line 5: | Line 5: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | overflow: hidden; | ||
+ | background-color: #333; | ||
} | } | ||
+ | |||
+ | li { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
li a { | li a { | ||
display: block; | display: block; | ||
− | + | color: white; | |
+ | text-align: center; | ||
+ | padding: 14px 16px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | /* Change the link color to #111 (black) on hover */ | ||
+ | li a:hover { | ||
+ | background-color: #111; | ||
} | } | ||
</style> | </style> |
Revision as of 03:41, 27 May 2017