This is Simple Web page Build using HTML and CSS Only .
View this page live by just Clicking Here
Github Link : - Click Here
Given Below is HTML and CSS Source Code : -
<!-- HTML -->
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./index.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Donation Page</title>
</head>
<body>
<div class="container">
<div><h2 style="text-decoration: underline; color: steelblue;">꧁•⊹٭Donate Here⊹•꧂</h2></div>
<div class="container-heading">
<div class="container-left">
<p>Donate Now and get blessed ❣</p></div>
<div class="container-right">
<p>Every Donation Count ❤</p>
</div>
</div>
<div class="bodycontainer">
<p style="text-decoration: underline;">Select Donation Amount :</p>
<span class="input-amount">
<input type="checkbox">
<label for="html">₹10</label>
<input type="checkbox">
<label for="html">₹50</label>
<input type="checkbox">
<label for="html">₹100</label>
<input type="checkbox">
<label for="html">₹500</label>
</span>
<div class="amountinput">
<p>Or Enter the Amount :</p>
<input type="text" placeholder=" ₹ 5000">
</div>
<div class="frequency">
<label for="frequency">Choose Your Frequency</label><br>
<select name="frequency" id="frequency">
<option value="frequency">One-Time</option>
<option value="frequency">Monthly</option>
<option value="frequency">Yearly</option>
</select>
</div>
<div class="payment-method">
<label for="payment">Select Your Payment Method</label>
<select name="payment" id="payment">
<option value="payment">UPI</option>
<option value="payment">Credit Card</option>
<option value="payment">Debit Card</option>
<option value="payment">NetBanking</option>
</select>
</div>
</div>
<div class="submitbutton">
<button>Submit</button>
</div>
</div>
<footer class="footer">
<p>Made by -- Vaibhav Yadav ❤ ---</p>
</footer>
</body>
</html>
CSS Source Code is Given Here:
CSS Code
body{
margin: 0;
padding: 0%;
font-weight: bolder;
font-family:sans-serif;
background-image: url(./backimg.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.container{
backdrop-filter: blur(15px);
border-radius: 10px;
margin: 8em auto;
padding: 2%;
max-width: 50%;
height: 50%;
text-align: center;
box-shadow: 5px 5px 10px black;
}
.container-heading{
font-size: 25px;
color: white;
display: flex;
padding: 4%;
border-bottom: 2px solid black;
animation: containerheading 7s infinite;
}
@keyframes containerheading {
0%{color: red;text-shadow: 0 0 50px red,0 0 50px red;}
25%{color: yellow;text-shadow: 0 0 50px yellow,0 0 50px yellow;}
50%{color: green;text-shadow: 0 0 50px green,0 0 50px green;}
100%{color:blue;text-shadow: 0 0 50px blue,0 0 50px blue;}
}
.container-left{
padding: 0 4% 0 0;
border-right: 2px solid black;
}
.container-right{
padding: 0 0 0 4%;
}
/* Body parts Starts from here */
.bodycontainer{
text-align: left;
color: white;
}
.bodycontainer span{
text-decoration: none;
margin: 9%;
}
.amountinput{
text-decoration: underline;
}
.amountinput input{
width: 100%;
padding: 1% 0;
}
.frequency{
padding: 4% 0 0 0;
}
.frequency select{
width: 100%;
padding: 1% 0;
text-align: left;
margin: 2% 0 0 0;
}
.payment-method{
padding: 4% 0 0 0;
}
.payment-method select{
margin: 2% 0 0 0;
width: 100%;
padding: 1% 0;
}
label{
text-decoration: underline;
}
.submitbutton{
border-bottom: 2px solid gray;
}
.submitbutton button{
margin: 3%;
border-radius: 3px;
cursor: pointer;
}
.submitbutton button:hover{
background-color: rgb(82, 197, 82);
}
.footer{
background-color: rgb(2, 1, 1);
padding: 1%;
text-align: center;
font-size: large;
font-weight: bolder;
color: red;
text-shadow: 2px 2px 5px blueviolet;
animation: name 2s infinite;
}
@keyframes name {
0%{color: violet;}
25%{color: indigo;}
50%{color: blue;}
75%{color: green;}
100%{color: yellow;}
}
No comments:
Post a Comment