Ответы
Ответ:
Вместо film1.jpg и т.д. вставь свои картинки
Объяснение:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Site</title>
<style>
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: space-around;
align-items: center;
height: 100vh;
}
.film-block {
background-color: #fff;
border-radius: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 300px;
text-align: center;
}
h2 {
color: #333;
}
p {
color: #555;
margin-bottom: 15px;
}
.film-image {
max-width: 100%;
border-radius: 10px;
}
.read-more-btn {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
display: inline-block;
}
.read-more-btn:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="film-block">
<img src="film1.jpg" class="film-image">
<h2>Lego Spider-Man</h2>
<p>Description</p>
<a href="#" class="read-more-btn">Read More</a>
</div>
<div class="film-block">
<img src="film2.jpg"class="film-image">
<h2>Lego Batman</h2>
<p>Description</p>
<a href="#" class="read-more-btn">Read More</a>
</div>
<div class="film-block">
<img src="film3.jpg" class="film-image">
<h2>Lego Black Panther</h2>
<p>Description</p>
<a href="#" class="read-more-btn">Read More</a>
</div>
</body>
</html>