Modal Literatura
Modal para literatura
Código
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Literary Insights</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- Custom CSS -->
<style>
.modal-content {
background-color: #f5e8c7;
color: #3e3e3e;
padding: 30px;
border-radius: 10px;
font-family: 'Georgia', serif;
}
.modal-header {
border-bottom: none;
}
.modal-title {
font-weight: bold;
font-size: 1.8rem;
color: #8c6d1f;
}
.modal-body img {
width: 100%;
border-radius: 8px;
margin-bottom: 20px;
}
.btn-next {
background-color: #8c6d1f;
color: white;
border: none;
border-radius: 25px;
padding: 10px 20px;
}
.btn-back {
background-color: transparent;
color: #8c6d1f;
border: none;
text-decoration: underline;
}
.quote {
font-style: italic;
color: #6d5c3e;
margin-bottom: 15px;
}
</style>
</head>
<body>
<!-- Button to Open Modal -->
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#literatureModal">
Modal Literatura
</button>
<!-- Modal -->
<div class="modal fade" id="literatureModal" tabindex="-1" aria-labelledby="literatureModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<h2 class="modal-title">Journey Through Literature</h2>
<p class="quote">"A room without books is like a body without a soul." - Cicero</p>
<p>Explore the timeless world of literature. From classic novels to modern works, literature has shaped societies and expanded our understanding of the human experience.</p>
<img src="https://via.placeholder.com/600x300" alt="Literature Image">
<p>Join us in this literary adventure, where every page takes you to a new world of ideas, emotions, and creativity.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn-back" data-bs-dismiss="modal">Back</button>
<button type="button" class="btn-next">Next Chapter</button>
</div>
</div>
</div>
</div>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>