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.0">
<title>Meet the Minds Driving Innovation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="content">
<h1>Our Leadership Team</h1>
<h6>Empowering Excellence, Inspiring Change</h6>
</div>
</header>
<section>
<div class="top-cards">
<div class="card">
<img src="https://images.unsplash.com/photo-1601859574836-7c19da24516a?q=80&w=2787&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="name 1">
<h2>Name 1</h2>
<p>Designation 1</p>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1627161683077-e34782c24d81?q=80&w=2725&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="name 2">
<h2>Name 2</h2>
<p>Designation 2</p>
</div>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1541446998555-73516264b7e5?q=80&w=2865&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="name 3">
<h2>Name 3</h2>
<p>Designation 3</p>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1541101767792-f9b2b1c4f127?q=80&w=2785&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="name 4">
<h2>Name 4</h2>
<p>Designation 4</p>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1600275669177-176b3c586d22?q=80&w=2667&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="name 5">
<h2>Name 5</h2>
<p>Designation 5</p>
</div>
</section>
<div class="top-left-circle-gradient"></div>
<div class="bottom-right-circle-gradient"></div>
</body>
</html>
Below is the css code for this video.
style.css
@import url('https://fonts.googleapis.com/css2?family=Mukta&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
min-height: 100vh;
height: auto;
width: 100%;
background: #1c111f;
color: #ffffff;
font-family: "Mukta", sans-serif;
overflow-x: hidden;
}
img {
height: clamp(100px, 40vw, 120px);
width: clamp(100px, 40vw, 120px);
border-radius: 50%;
object-fit: cover;
object-position: top;
}
header {
display: flex;
width: 100%;
min-height: 42vh;
background: linear-gradient(to top, #1c111f 0%, #2f3c4740 100%), url("https://images.unsplash.com/photo-1627634777217-c864268db30c?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") no-repeat 50% 50%/cover;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
header .content {
position: relative;
width: min(600px, 90%);
margin-top: 6vh;
z-index: 10;
}
header .content h1 {
font-size: clamp(1.5rem, 1.375rem + 0.625vw, 2rem);
font-weight: 700;
}
header .content h6 {
font-size: clamp(0.8rem, 0.7625rem + 0.1875vw, 0.95rem);
letter-spacing: 0.063rem;
text-transform: uppercase;
}
section {
position: relative;
display: flex;
max-width: 1200px;
transform: translateY(-48px);
justify-content: center;
flex-wrap: wrap;
margin-inline: auto;
gap: 0.938rem;
z-index: 10;
}
section .card {
position: relative;
display: grid;
height: 16.875rem;
width: 90%;
max-width: 18.75rem;
text-align: center;
place-content: center;
padding: 30px 20px;
}
section .card::before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: linear-gradient(45deg, #1c111f, #b284be) border-box;
border: 0.125rem solid transparent;
border-radius: 1rem;
z-index: -1;
-webkit-mask: linear-gradient(#ffffff 0 0) padding-box, linear-gradient(#ffffff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
}
section .top-cards {
display: flex;
justify-content: center;
flex-basis: 100%;
flex-wrap: wrap;
gap: 0.938rem;
}
section .top-cards .card img {
height: clamp(120px, 40vw, 150px);
width: clamp(120px, 40vw, 150px);
}
section .card h2 {
font-size: clamp(1rem, 0.9375rem + 0.3125vw, 1.25rem);
letter-spacing: 0.78px;
margin-top: 0.625em;
margin-bottom: 0.188em;
}
section .card p {
color: #adadad;
font-size: clamp(0.8rem, 0.7625rem + 0.1875vw, 0.95rem);
}
.top-left-circle-gradient, .bottom-right-circle-gradient {
position: absolute;
height: clamp(25rem, 30vw, 31.25rem);
width: clamp(25rem, 30vw, 31.25rem);
background: radial-gradient(circle, #df73ff26 0%, #df73ff00 60%, #ffffff00 100%);
border-radius: 50%;
}
.top-left-circle-gradient {
top: 3em;
left: -8em;
}
.bottom-right-circle-gradient {
bottom: -5em;
right: -8em;
}
Thanks for visiting