Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*code for all lists*/
- ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- overflow: hidden;
- background-color: #fff;
- width: 900px;
- }
- li {
- float: left;
- }
- li:last-child {
- border-right: none;
- }
- li a {
- display: block;
- color: white;
- text-align: center;
- padding: 18px 20px;
- text-decoration: none;
- }
- li a:hover:not(.active) {
- background-color: #c1f0c1;
- }
- .active {
- background-color: #c1f0c1;
- }
- /*Border of navbar*/
- ul {
- border: 2px solid #196619;
- background-color: #32cd32;
- }
- /*Text in navbar color*/
- li a {
- color: #ffff00;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement