Charlie Lee (Talk | contribs) |
|||
Line 1: | Line 1: | ||
{{SSHS-Shenzhen/CSS}} <html lang="en"> <head> | {{SSHS-Shenzhen/CSS}} <html lang="en"> <head> | ||
− | <meta charset="UTF-8"> <title>Title</title><style> | + | <meta charset="UTF-8"> <title>Title</title> |
− | + | <style> | |
− | color: #fff | + | .header li a:hover,.dropdown:hover.dropbtn { |
− | + | color: #fff; | |
} | } | ||
− | + | .header { | |
− | </style> </head> | + | font-size: 30px; |
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | position: fixed; | ||
+ | height: 3em; | ||
+ | z-index: 99; | ||
+ | float: left; | ||
+ | background-color: #5d8aa8; | ||
+ | min-width: 1080px; | ||
+ | } | ||
+ | body { | ||
+ | background-color: #fff; | ||
+ | } | ||
+ | .dropdown-content { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #5d8aa8; | ||
+ | min-width: 250px | ||
+ | } | ||
+ | .dropdown-content a { | ||
+ | color: #f7f7f7; | ||
+ | padding: 12px 16px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | font-size: 20px; | ||
+ | } | ||
+ | .header li a,.dropbtn,.header a:link, .header a:visited { | ||
+ | color: #f7f7f7; | ||
+ | } | ||
+ | </style></head> | ||
<body> | <body> | ||
<div class="banner1"> | <div class="banner1"> |
Revision as of 06:49, 4 October 2018