Price Card Download
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PriceList</title>
</head>
<style>
.pricemainu{
justify-content: center;
display: flex;
flex-direction: row;
/* background: pink; */
padding: 20px;
gap: 20px;
}
.card{
background: black;
height: 450px;
width: 300px;
border-radius: 5px;
padding: 5px;
box-shadow: 2px 2px 10px 1px red;
}
.heading{
border-radius: 2px;
height: 100px;
background: red;
font-size: 40px !important;
line-height: 70px;
text-align: center;
}
.spacer{
height: 40px;
width: 100%;
background-color: black;
}
.content{
border-radius: 2px;
height: 100px;
width: 100%;
/* background: green; */
font-size: 100px !important;
font-weight: 700;
line-height: 70px;
color: white;
text-align: center;
}
button{
font-size: 20px !important;
margin: 0 25%;
height: 40px;
border-radius: 5px;
width: 50%;
background: red;
color: white;
border: none;
cursor: pointer;
}
button:hover{
color: black;
}
@media only screen and (max-width: 800px){
.pricemainu{
align-items: center;
margin: auto;
justify-content: center;
display: flex;
flex-direction: column;
/* background: pink; */
padding: 20px;
gap: 0px;
}
.card{
margin: 20px auto;
background: black;
height: 450px;
width: 300px;
border-radius: 5px;
padding: 5px;
}
}
.plan{
height: 30px;
width: 100%;
}
p{
font-size: 40px !important;
text-align: center;
color: white;
}
</style>
<body>
<div class="pricemainu">
<div class="card">
<div class="heading">Basic</div>
<div class="spacer"></div>
<div class="content">$200</div>
<div class="plan"><p>1 Month Plan</p></div>
<div class="spacer"></div>
<button>Buy</button>
</div>
<div class="card">
<div class="heading">Standard</div>
<div class="spacer"></div>
<div class="content">$500</div>
<div class="plan"><p>6 Month Plan</p></div>
<div class="spacer"></div>
<button>Buy</button>
</div>
<div class="card">
<div class="heading">Premium</div>
<div class="spacer"></div>
<div class="content">$1000</div>
<div class="plan"><p>1 Year Plan</p></div>
<div class="spacer"></div>
<button>Buy</button>
</div>
</div>
</body>
</html>
Comments
Post a Comment