The content on this website, including videos and code examples, is for educational purposes only. All demonstrations and designs are fictional and created to illustrate coding techniques. Any resemblance to existing websites or brands is purely coincidental.
The creators and administrators of this website do not claim ownership or affiliation with any existing websites or companies. Users are encouraged to use the information responsibly for learning purposes. Liability for any misuse of the content provided is not accepted.
Below is the html code for this video.
index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gleaming Moments Invitation Awaits</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container-fluid p-lg-5">
<div class="row m-lg-3 invite-wrapper">
<div class="col-12 col-sm-12 col-md-12 col-lg-6 p-5 side-left">
<div class="m-5 p-5 side-left-wrapper">
<p class="text-uppercase">Save the date</p>
<h1 class="text-white">
<span class="p-lg-0">Kabir</span><span class="mt-1 pt-2 py-lg-1">Pooja</span>
</h1>
<h2 class="text-secondary">Weds</h2>
<h1 class="text-white mb-4">
<span class="mb-1 pb-1 pb-lg-1">Pooja</span><span class="p-lg-0">Kabir</span>
</h1>
<h6 class="text-uppercase">thursday 01, february</h6>
<p>07:30 PM @ Royal Palace, City</p>
</div>
<div class="h-100 w-100 image-wrapper"></div>
</div>
<div class="col-12 col-sm-12 col-md-12 col-lg-6 p-5 side-right">
<div class="m-5 side-right-wrapper">
<h4 class="mb-3">You're Invited, will you be there?</h4>
<p class="mb-3">Kindly respond before 15th January on the following form</p>
<div class="form-floating mb-3">
<input type="text" id="name" class="form-control" placeholder="Full Name" autocomplete="off">
<label for="name">Name</label>
</div>
<div class="form-floating mb-3">
<input type="email" id="email" class="form-control" placeholder="email@example.com"
autocomplete="off"><label for="email">Email</label>
</div>
<div class="form-check mb-3">
<input type="checkbox" id="couple-single" class="form-check-input">
<label for="couple-single" class="form-check-label">I will also bring my other half</label>
</div>
<div class="w-100 d-flex justify-content-between align-items-center">
<button type="button" class="btn p-0 btn-simple">I won't make it</button>
<button type="button" class="btn btn-success px-5">I will be there!</button>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
</body>
</html>
Below is the css code for this video.
style.css
@import url('https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital@1&display=swap');
* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100%;
background-color: #faf8f5;
font-family: 'Urbanist', sans-serif;
}
.invite-wrapper {
box-shadow: 0 0 55px 0 #00000040;
}
.side-left {
position: relative;
background-color: #292d36;
}
.side-left-wrapper {
text-align: center;
border: 4px solid #cbd9b2;
}
.side-left-wrapper h1 {
height: calc(1.5rem + 2vw);
font-family: 'Petit Formal Script', cursive;
overflow: hidden;
}
.side-left-wrapper h1 span {
display: block;
}
.side-left-wrapper h1 span:first-child {
animation: textAnim 7s ease infinite;
}
@keyframes textAnim {
0%, 24%, 76%, 100% {
margin-top: 0;
}
26%, 74% {
margin-top: calc(-1 * (1.5rem + 4vh));
}
}
.side-left-wrapper h2 {
font-family: cursive;
margin: 0 auto;
}
.side-left-wrapper p:first-of-type {
color: #8c8d8f;
font-size: small;
}
.side-left-wrapper h6 {
color: #acacad;
font-size: small;
text-indent: 1.5px;
letter-spacing: 1.5px;
margin-bottom: 0;
}
.side-left-wrapper p:last-of-type {
color: #545558;
font-size: small;
}
.image-wrapper {
position: absolute;
top: 0;
left: 0;
background-image: url('./pngleaf.png');
background-position: 0% 0%;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.side-right {
background-color: #ffffff;
color: #c4c4c4;
}
.side-right-wrapper h4 {
color: #212121;
}
.form-control, .form-control:focus, .form-check-input, .form-check-input:focus {
border-color: #c4c4c4;
box-shadow: none;
}
.form-control:focus::placeholder {
color: #c4c4c4 !important;
}
.form-check-input:checked {
background-color: #7fc6b9;
border-color: #7fc6b9;
}
.btn-simple, .btn-simple:active {
color: #c4c4c4;
border: none;
}
.btn-success {
background-color: #7fc6b9 !important;
border-color: #7fc6b9 !important;
border-radius: 24px;
}
Thanks for visiting