Line 25: | Line 25: | ||
top: 100px; | top: 100px; | ||
width: 100%; | width: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | .class li a { | ||
+ | display: block; | ||
+ | color: #000; | ||
+ | padding: 8px 16px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | .class li { | ||
+ | text-align: center; | ||
+ | border-bottom: 1px solid #555; | ||
+ | float:left; | ||
} | } | ||
+ | .class li a:hover { | ||
+ | background-color: #555; | ||
+ | color: white; | ||
+ | } | ||
+ | .class li a.active { | ||
+ | background-color: #4CAF50; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .class li a:hover:not(.active) { | ||
+ | background-color: #555; | ||
+ | color: white; | ||
+ | } | ||
</style> | </style> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
<div class="Home"> | <div class="Home"> |
Revision as of 04:17, 21 June 2018