GithubHelp home page GithubHelp logo

grid-navbar-beta's Introduction

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link
      href="https://fonts.googleapis.com/css2?family=Pattaya&display=swap"
      rel="stylesheet"
    />
    <link rel="stylesheet" href="style.css" />
    <title>MediaLink</title>
  </head>
  <body>
    <header class="header">
      <nav>
        <h1 id="logo">MediaLink</h1>
        <ul>
          <li><a href="#hemma">Hem</a></li>
          <li><a href="#bilder">Bilder</a></li>
          <li><a href="#invest">Invest</a></li>
          <li><a href="#kontakt">Kontakt</a></li>
        </ul>
      </nav>
    </header>
  </body>
</html>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}
.header {
  border: 1px solid #a2a2a2;
  background-color: #f2f2f2;
  color: #34495e;
  position: sticky;
  z-index: 3;
}
.main-head a {
  text-transform: uppercase;
}
nav {
  padding: 0.5rem;
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
}

ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #34495e;
  align-items: center;
  list-style: none;
  text-align: center;
  /* padding-right: 2rem; */
}
li {
  font-size: 1.3rem;
  text-transform: uppercase;
}
a {
  text-decoration: none;
  color: #34495e;
}
#logo {
  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-size: 2.6rem;
}

grid-navbar-beta's People

Contributors

broklyn777 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.