Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Código de bootstrap -->
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
- <title>Document</title>
- </head>
- <body>
- <!-- Código para el NavBar -->
- <nav class="navbar navbar-expand-lg navbar-light bg-light">
- <div class="container-fluid">
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <a class="navbar-brand" href="#">Menu Principal</a>
- <div class="collapse navbar-collapse" id="navbarTogglerDemo03">
- <ul class="navbar-nav me-auto mb-2 mb-lg-0">
- <li class="nav-item">
- <a class="nav-link active" aria-current="page" href="#">Home</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="#">Link</a>
- </li>
- <li class="nav-item">
- <a class="nav-link disabled">Disabled</a>
- </li>
- </ul>
- <form class="d-flex">
- <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
- <button class="btn btn-outline-success" type="submit">Search</button>
- </form>
- </div>
- </div>
- </nav>
- <br>
- <br>
- <!-- Fin Código para el NavBar -->
- <!-- Código del conteiner -->
- <div class="container">
- <div class="container">
- <div class="row">
- <div class="col">
- <div class="card" style="width: 18rem;">
- <img src="https://www.purina-latam.com/sites/g/files/auxxlc391/files/styles/kraken_generic_max_width_960/public/download-21.png?itok=xwvQwAhn" class="card-img-top" alt="Foto de Perrito">
- <div class="card-body">
- <h5 class="card-title">Card title</h5>
- <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
- <a href="#" class="btn btn-primary">Go somewhere</a>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card" style="width: 18rem;">
- <img src="https://www.petdarling.com/wp-content/uploads/2021/01/cachorros.jpg" class="card-img-top" alt="...">
- <div class="card-body">
- <h5 class="card-title">Card title</h5>
- <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
- <a href="#" class="btn btn-primary">Go somewhere</a>
- </div>
- </div>
- </div>
- <div class="col">
- <div class="card" style="width: 18rem;">
- <img src="https://cdn2.excelsior.com.mx/media/styles/image800x600/public/pictures/2021/06/09/2592367.jpg" class="card-img-top" alt="...">
- <div class="card-body">
- <h5 class="card-title">Card title</h5>
- <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
- <a href="#" class="btn btn-primary">Go somewhere</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <br>
- <br>
- <!-- Inicio del Carrusel -->
- <div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
- <div class="carousel-indicators">
- <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
- <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
- <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
- </div>
- <div class="carousel-inner">
- <div class="carousel-item active">
- <img src="https://www.feelcats.com/wp-content/uploads/2019/03/gatitos.jpg" class="d-block w-100" alt="...">
- <div class="carousel-caption d-none d-md-block">
- <h5>Primeros gatitos</h5>
- <p>Esta foto me la robé</p>
- </div>
- </div>
- <div class="carousel-item">
- <img src="https://www.feelcats.com/wp-content/uploads/2019/03/fotos-de-gatitos.jpg" class="d-block w-100" alt="...">
- <div class="carousel-caption d-none d-md-block">
- <h5>Segundos gatitos</h5>
- <p>Foto también robada</p>
- </div>
- </div>
- <div class="carousel-item">
- <img src="https://www.feelcats.com/wp-content/uploads/2019/03/gatitos-bebe.jpg" class="d-block w-100" alt="...">
- <div class="carousel-caption d-none d-md-block">
- <h5>Terceros gatitos</h5>
- <p>Foto igualmente robada</p>
- </div>
- </div>
- </div>
- <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
- <span class="carousel-control-prev-icon" aria-hidden="true"></span>
- <span class="visually-hidden">Previous</span>
- </button>
- <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
- <span class="carousel-control-next-icon" aria-hidden="true"></span>
- <span class="visually-hidden">Next</span>
- </button>
- </div>
- <!-- Fin del carrusel -->
- </div>
- <!-- Llamada a las ibrerías de bootstrap -->
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement