update
This commit is contained in:
@@ -27,6 +27,9 @@
|
|||||||
.header {
|
.header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 40px 20px;
|
padding: 40px 20px;
|
||||||
|
border-bottom: 10px solid #A01515;;
|
||||||
|
border-bottom-left-radius:10px;
|
||||||
|
border-bottom-right-radius:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header h1 {
|
.header h1 {
|
||||||
|
|||||||
303
product.html
Normal file
303
product.html
Normal file
@@ -0,0 +1,303 @@
|
|||||||
|
<!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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-left h1 {
|
||||||
|
font-size: 42px;
|
||||||
|
color: #0f3b5f;
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.website {
|
||||||
|
color: #b08d57;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
font-size: 40px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #b08d57;
|
||||||
|
}
|
||||||
|
|
||||||
|
.date {
|
||||||
|
margin-top: 10px;
|
||||||
|
color: #0f3b5f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* HERO */
|
||||||
|
.hero img {
|
||||||
|
width: 100%;
|
||||||
|
height: 360px;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
strong{
|
||||||
|
color: #A01515;;
|
||||||
|
}
|
||||||
|
/* CONTENT GRID */
|
||||||
|
.content-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 60% 40%;
|
||||||
|
gap: 30px;
|
||||||
|
padding: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LEFT CONTENT */
|
||||||
|
.content-left h2 {
|
||||||
|
font-size: 32px;
|
||||||
|
color: #0f3b5f;
|
||||||
|
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: #0f3b5f;
|
||||||
|
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: #0f3b5f;
|
||||||
|
color: #fff;
|
||||||
|
padding: 15px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* FOOTER */
|
||||||
|
.footer {
|
||||||
|
background: #b08d57;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20px 40px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer .line {
|
||||||
|
flex: 1;
|
||||||
|
height: 2px;
|
||||||
|
background: #fff;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
/* ===============================
|
||||||
|
RESPONSIVE STYLES
|
||||||
|
================================ */
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
|
||||||
|
.header {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.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">A</div>
|
||||||
|
<p class="date">Friday, March 17, 2023</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- HERO IMAGE -->
|
||||||
|
<div class="hero">
|
||||||
|
<img src="https://images.unsplash.com/photo-1504384308090-c894fdcc538d" 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="https://images.unsplash.com/photo-1556761175-4b46a572b786" alt="Team">
|
||||||
|
<div class="image-caption">New Partnerships Formed</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- FOOTER -->
|
||||||
|
<div class="footer">
|
||||||
|
<span class="line"></span>
|
||||||
|
<span class="page">01 / 02</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user