-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created subscription page linked to service page
- Loading branch information
1 parent
790c7cc
commit d778bfb
Showing
3 changed files
with
240 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
|
||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
height: 100vh; | ||
background-image: url(https://hips.hearstapps.com/hmg-prod/images/best-meal-delivery-services-territory-foods-1630350085.jpg?crop=0.999866844207723xw:1xh;center,top&resize=980:*); | ||
background-size: cover; | ||
} | ||
.services_page{ | ||
color:crimson; | ||
position: relative; | ||
left:10px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
background-color: rgb(247, 218, 181); | ||
width:230px; | ||
padding:4px; | ||
} | ||
.services_page:hover{ | ||
color:#fff; | ||
background-color: crimson; | ||
} | ||
a{ | ||
text-decoration: none; | ||
} | ||
.container { | ||
display: flex; | ||
height: 90%; | ||
background-color: whitesmoke; | ||
position:absolute; | ||
top:60px; | ||
left:200px; | ||
width:75%; | ||
} | ||
|
||
|
||
.product { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: #fff; | ||
border: 1px solid #ddd; | ||
border-radius: 5px; | ||
margin: 10px; | ||
padding: 20px; | ||
text-align: center; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||
height: 87%; | ||
transition: transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
|
||
.product { | ||
color: black; | ||
margin-bottom: 10px; | ||
} | ||
.product:hover{ | ||
transform: translateY(-8px); | ||
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
|
||
.price { | ||
font-size: 18px; | ||
margin: 10px 0; | ||
} | ||
|
||
|
||
.old-price { | ||
text-decoration: line-through; | ||
color: #888; | ||
margin-right: 10px; | ||
} | ||
|
||
|
||
.new-price { | ||
color: rgb(211, 52, 52); | ||
font-size: 40px; | ||
font-weight: bold; | ||
} | ||
|
||
|
||
.savings { | ||
color: black; | ||
font-size: 16px; | ||
margin-bottom: 20px; | ||
background-color: rgb(239, 207, 164); | ||
padding:4px; | ||
} | ||
|
||
|
||
.buy-now { | ||
background-color:rgb(3, 137, 3); | ||
color: white; | ||
padding: 10px 20px; | ||
border: none; | ||
border-radius: 15px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
margin-bottom: 20px; | ||
width: 130px; | ||
} | ||
.buy-now:hover { | ||
background-color: rgb(6, 112, 22); | ||
} | ||
|
||
|
||
.features { | ||
text-align: left; | ||
} | ||
|
||
|
||
.features h3 { | ||
color: black; | ||
margin-bottom: 10px; | ||
} | ||
|
||
|
||
.features ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
|
||
.features li { | ||
background-color: #f9f9f9; | ||
margin: 5px 0; | ||
padding: 10px; | ||
border-radius: 5px; | ||
border: 1px solid #ddd; | ||
} | ||
.types_membership{ | ||
font-size: 35px; | ||
font-weight: bold; | ||
} | ||
hr{ | ||
width: 200px; | ||
|
||
} | ||
.green-check{ | ||
color:green; | ||
} | ||
.gold{ | ||
color:goldenrod; | ||
} | ||
.silver{ | ||
color:#545454; | ||
} | ||
.regular{ | ||
color:rgb(41, 139, 237); | ||
} | ||
.gold_mem{ | ||
border-color: goldenrod; | ||
border-width: 4px; | ||
} | ||
.silver_mem{ | ||
border-color:#888; | ||
border-width: 4px; | ||
} | ||
.regular_mem{ | ||
border-color:rgb(125, 165, 239); | ||
border-width: 4px; | ||
} | ||
.gold_mem:hover{ | ||
border-color: rgb(183, 133, 6); | ||
} | ||
.silver_mem:hover{ | ||
border-color:#545454; | ||
} | ||
.regular_mem:hover{ | ||
border-color:rgb(66, 124, 232); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Product Offers</title> | ||
<link rel="stylesheet" href="subscription.css"> | ||
</head> | ||
<body> | ||
<a href="services.html"><p class="services_page"> BACK TO SERVICE PAGE</p></a> | ||
<div class="container"> | ||
<div class="product gold_mem"> | ||
<p class="types_membership gold">Gold Membership</p class="types_membership"> | ||
<p class="price"><span class="old-price">$200</span> <br> <span class="new-price">$160</span></p> | ||
<p class="savings">You save $40!</p> | ||
<button class="buy-now">Buy Now</button> | ||
|
||
<div class="features"> | ||
<hr> | ||
<h3>Essential Features</h3> | ||
<ul> | ||
<li> <span class="green-check">✔</span> 20% off on all dine-in and 15% off on online orders.</li> | ||
<li> <span class="green-check">✔</span> Priority seating for dine-in and express delivery for online orders.</li> | ||
<li> <span class="green-check">✔</span> Free dessert or appetizer with dine-in meals and monthly free delivery vouchers.</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="product silver_mem"> | ||
<p class="types_membership silver">Silver Membership</p class="types_membership"> | ||
<p class="price"><span class="old-price">$150</span> <br><span class="new-price">$120</span></p> | ||
<p class="savings">You save $30!</p> | ||
<button class="buy-now">Buy Now</button> | ||
<div class="features"> | ||
<hr> | ||
<h3>Essential Features</h3> | ||
<ul> | ||
<li> <span class="green-check">✔</span> 10% off on all dine-in and online orders.</li> | ||
<li> <span class="green-check">✔</span> Preferred seating for dine-in and reduced delivery charges for online orders.</li> | ||
<li> <span class="green-check">✔</span> Free appetizer with dine-in meals and quarterly free delivery vouchers.</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="product regular_mem"> | ||
<p class="types_membership regular">Regular Membership</p class="types_membership"> | ||
<p class="price"><span class="old-price">$100</span><br> <span class="new-price">$80</span></p> | ||
<p class="savings">You save $20!</p> | ||
<button class="buy-now">Buy Now</button> | ||
<div class="features"> | ||
<hr> | ||
<h3>Essential Features</h3> | ||
<ul> | ||
<li> <span class="green-check">✔</span> 5% off on all dine-in and online orders.</li> | ||
<li> <span class="green-check">✔</span> Standard seating for dine-in and standard delivery charges for online orders.</li> | ||
<li> <span class="green-check">✔</span> Occasional free appetizers with dine-in meals and free delivery vouchers during special promotions.</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
|