|
|
Line 7: |
Line 7: |
| | | |
| | | |
− | <style>
| |
− |
| |
− | nav {
| |
− | background-color: #FFF;
| |
− | }
| |
− |
| |
− | nav li {
| |
− | margin: 0;
| |
− | padding: 0 10px;
| |
− | display: inline;
| |
− | }
| |
− |
| |
− | nav ul {
| |
− | display: inline;
| |
− | }
| |
− |
| |
− | .contact-btn {
| |
− | float: right;
| |
− | }
| |
− |
| |
− | .contact-btn a {
| |
− | margin-right: 30px;
| |
− | padding: 8px 18px;
| |
− | border: 1px solid #204156;
| |
− |
| |
− | }
| |
− |
| |
− | .contact-btn a:active {
| |
− | position: relative;
| |
− | bottom: 2px;
| |
− | }
| |
− |
| |
− | nav a {
| |
− | height: 60px;
| |
− | line-height: 60px;
| |
− | color: #204156;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | </style>
| |
− |
| |
− |
| |
− | <nav>
| |
− | <ul>
| |
− | <li><a href="#"><b>Arctic</b></a></li>
| |
− | <li><a href="#">Alpine</a></li>
| |
− | <li><a href="#">Antarctic</a></li>
| |
− | </ul>
| |
− | <div class="contact-btn"><a>Contact</a>
| |
− | </div>
| |
− | </nav>
| |
| | | |
| + | |
| | | |
| </html> | | </html> |
Revision as of 02:16, 18 August 2017