308 lines
5.3 KiB
HTML
308 lines
5.3 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>Product Newsletter</title>
|
||
<link rel="stylesheet" href="style.css">
|
||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||
|
||
</head>
|
||
<style>
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
body {
|
||
background: #f4f4f4;
|
||
font-family: "Georgia", serif;
|
||
}
|
||
|
||
.newsletter {
|
||
max-width: 1100px;
|
||
margin: 30px auto;
|
||
background: #fff;
|
||
}
|
||
|
||
/* HEADER */
|
||
.header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
padding: 40px;
|
||
border-bottom: 10px solid #A01515;;
|
||
border-bottom-left-radius:10px;
|
||
border-bottom-right-radius:10px;
|
||
}
|
||
|
||
.header-left h1 {
|
||
font-size: 42px;
|
||
color: #A01515;;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.website {
|
||
color: #b08d57;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.header-right {
|
||
text-align: right;
|
||
}
|
||
|
||
.logo img{
|
||
height: 100px;
|
||
}
|
||
|
||
.date {
|
||
margin-top: 10px;
|
||
color: #A01515;
|
||
}
|
||
|
||
/* HERO */
|
||
.hero img {
|
||
width: 100%;
|
||
height: 360px;
|
||
object-fit: cover;
|
||
}
|
||
strong{
|
||
color: white;
|
||
}
|
||
/* CONTENT GRID */
|
||
.content-grid {
|
||
display: grid;
|
||
grid-template-columns: 60% 40%;
|
||
gap: 30px;
|
||
padding: 40px;
|
||
}
|
||
|
||
/* LEFT CONTENT */
|
||
.content-left h2 {
|
||
font-size: 32px;
|
||
color: #bd2727;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.content-left p {
|
||
font-size: 16px;
|
||
line-height: 1.6;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
/* RIGHT CONTENT */
|
||
.content-right {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 30px;
|
||
}
|
||
|
||
/* TOP NEWS CARD */
|
||
.top-news {
|
||
background: #A01515;
|
||
color: #fff;
|
||
padding: 30px;
|
||
}
|
||
|
||
.top-news h3 {
|
||
font-size: 26px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.top-news p {
|
||
margin-bottom: 15px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.top-news hr {
|
||
border: 0;
|
||
border-top: 1px solid rgba(255,255,255,0.3);
|
||
margin: 20px 0;
|
||
}
|
||
|
||
/* IMAGE CARD */
|
||
.image-card img {
|
||
width: 100%;
|
||
height: 230px;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.image-caption {
|
||
background: #bd2727;
|
||
color: #fff;
|
||
padding: 15px;
|
||
font-weight: bold;
|
||
}
|
||
|
||
/* FOOTER */
|
||
.footer {
|
||
background: #A01515;
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 20px 40px;
|
||
color: #fff;
|
||
justify-content: center;
|
||
border-top-right-radius: 12px;
|
||
border-top-left-radius: 12px;
|
||
}
|
||
|
||
|
||
|
||
.page {
|
||
font-size: 20px;
|
||
font-weight: bold;
|
||
}
|
||
/* .content-right {
|
||
order: -1;
|
||
} */
|
||
|
||
|
||
|
||
@media (max-width: 992px) {
|
||
|
||
.top-news p {
|
||
font-size: 24px;
|
||
}
|
||
.top-news {
|
||
font-size: 34px;
|
||
}
|
||
.header-right {
|
||
text-align: left;
|
||
}
|
||
|
||
.content-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.content-right {
|
||
order: -1; /* Top News comes first */
|
||
}
|
||
|
||
.hero img {
|
||
height: 260px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 576px) {
|
||
|
||
.header-left h1 {
|
||
font-size: 30px;
|
||
}
|
||
|
||
.content-left h2 {
|
||
font-size: 24px;
|
||
}
|
||
|
||
.top-news h3 {
|
||
font-size: 22px;
|
||
}
|
||
|
||
.newsletter {
|
||
margin: 0;
|
||
}
|
||
|
||
.content-grid {
|
||
padding: 25px;
|
||
}
|
||
|
||
.header {
|
||
padding: 25px;
|
||
}
|
||
|
||
.footer {
|
||
flex-direction: column;
|
||
gap: 15px;
|
||
}
|
||
|
||
.footer .line {
|
||
width: 100%;
|
||
margin: 0;
|
||
}
|
||
}
|
||
|
||
|
||
</style>
|
||
<body>
|
||
|
||
<div class="newsletter">
|
||
|
||
<!-- HEADER -->
|
||
<div class="header">
|
||
<div class="col-lg-6 header-left">
|
||
<h1>PRODUCT<br>NEWSLETTER</h1>
|
||
<p class="website">www.yourproduct.com</p>
|
||
</div>
|
||
<div class="col-lg-6 header-right">
|
||
<div class="logo"><img src="./logo.png" alt=""></div>
|
||
<p class="date">Friday, March 17, 2023</p>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- HERO IMAGE -->
|
||
<div class="hero">
|
||
<img src="./image.png" alt="Building">
|
||
</div>
|
||
|
||
<!-- CONTENT GRID -->
|
||
<div class="content-grid">
|
||
|
||
<!-- LEFT CONTENT -->
|
||
<div class="content-left">
|
||
<h2>Our Product Growth & Innovation in Q1 2023</h2>
|
||
|
||
<p>
|
||
As we step into the new quarter, we’re excited to share how our
|
||
product has evolved with powerful new features and improved
|
||
performance.
|
||
</p>
|
||
|
||
<p>
|
||
Our development team has focused on usability, speed, and
|
||
scalability—helping customers achieve better results faster.
|
||
</p>
|
||
</div>
|
||
|
||
<!-- RIGHT CONTENT -->
|
||
<div class="content-right">
|
||
|
||
<!-- TOP NEWS CARD -->
|
||
<div class="top-news">
|
||
<h3>Top News</h3>
|
||
|
||
<p>
|
||
<strong>Product Update:</strong><br>
|
||
Introducing Our Advanced Automation Engine
|
||
</p>
|
||
|
||
<hr>
|
||
|
||
<p>
|
||
<strong>Market Expansion:</strong><br>
|
||
Product Now Available in 3 New Regions
|
||
</p>
|
||
</div>
|
||
|
||
<!-- IMAGE CARD -->
|
||
<div class="image-card">
|
||
<img src="./1.png" alt="Team">
|
||
<div class="image-caption">New Partnerships Formed</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<!-- FOOTER -->
|
||
<!-- FOOTER -->
|
||
<footer class="footer animate-on-scroll">
|
||
<p>
|
||
|
||
<strong>Team Bibhuti Solutions</strong><br>
|
||
|
||
</p>
|
||
</footer>
|
||
|
||
</div>
|
||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||
|
||
</body>
|
||
</html>
|