El genio del codigo's profile

Sitio web de explorar el mundo

         IMAGENES QUE INCLUYE EL PROYECTO



HTML
______________________________________________
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="estilos.css">
</head>
<body>
  <div class="banner">
    <div class="navbar">
      <img class="logo" src="vacaciones-png-6.png">
      <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Travel</a></li>
        <li><a href="#">Blogs</a></li>
        <li><a href="#">Support</a></li>
      </ul>
    </div>
  </div>

  <div class="content">
    <h1>EXPLORE THE WORLD</h1>
    <button type="button">Explore</button>
  </div>
</body>
</html>



CSS
______________________________________________

* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}

.banner {
  width: 100%;
  height: 100vh;
  background-image: url('Captura\ de\ pantalla_7-5-2024_22325_www.behance.net.jpeg');
  background-position: center;
  background-size: center;
}

.navbar {
  width: 90%;
  padding: 30px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 160px;
  margin-top: -10px;
  cursor: pointer;
}

.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 20px;
}

.navbar ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  padding: 15px;
}

li a:hover {
  background: white;
  transition: 0.5s;
}

.navbar a:hover {
  color: black;
}

.content {
  width: 100%;
  position: absolute;
  color: white;
  top: 45%;
  transform: translateY(-50%);
  text-align: center;
}

.content h1 {
  margin-top: 80px;
  font-size: 90px;
  font-weight: 800;
}

button {
  width: 200px;
  padding: 15px;
  margin: 20px 5px;
  text-align: center;
  border-radius: 25px;
  color:  black;
  border: 2px;
  font-size: 20px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: rgba(0, 192, 226);
  transition: 0.5s;
}

button:hover {
  color: white;
}


Sitio web de explorar el mundo
Published:

Sitio web de explorar el mundo

Published: