How To Create A Team Section Using HTML CSS and JavaScript
How to Create A Team Section Using HTML, CSS, and JavaScript?
If you want to learn how to create a Team Section Using HTML CSS and JavaScript then you are in the right place.
I have more than Four years experience in Frontend(HTML, CSS, and JS). I promise you, I will try to provide you best way to create Team Section Using HTML, CSS, and JavaScript.
Create A Team Section Using HTML CSS and JavaScript
Team Section The Team
*{
margin: 0px;
padding: 0px;
font-family: poppins;
box-sizing: border-box;
}
ul{
list-style: none;
}
a{
text-decoration: none;
}
body{
background-color: #000000;
}
/*==Team-section===========================*/
#team{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100%;
max-width: 1200px;
min-height: 100vh;
margin: auto;
}
.team-slider-box{
width: 100%;
padding: 20px;
user-select: none;
}
.t-s-img{
position: relative;
height: 350px;
}
.t-s-img::after{
content: '';
position: absolute;
left: 0px;
bottom: 0px;
width: 100%;
height: 150px;
background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgb(0, 0, 0) 100%);
}
.t-s-img img{
filter: grayscale(1);
width: 100%;
height: 100%;
object-fit: contain;
object-position: bottom;
display: flex;
}
.t-s-text{
display: flex;
flex-direction: column;
align-items: center;
}
.t-s-text strong,
.t-s-text a{
color: #ffffff;
font-weight: 700;
font-size: 1.2rem;
}
.t-s-text span{
color: #919191;
font-size: 0.9rem;
}
.team-social{
display: flex;
justify-content: center;
align-items: center;
}
.team-social a{
margin: 0px 5px;
color: #ffffff;
transition: all ease 0.3s;
font-size: 0.9rem;
}
.team-social a:hover{
color: #0617ff;
}
.swiper {
max-width: 745px;
width: 100%;
}
.swiper-slide {
max-width: 300px !important;
width: 90%;
opacity: 0.2;
margin: 50px 0px;
margin-top: 0px;
}
.swiper-slide-active{
border: 10px solid #0617ff;
opacity: 1;
}
.team-heading{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 101; }
.team-heading h3{
color: #ffffff;
font-size: 3rem;
text-transform: lowercase;
}
@media(max-width:724px){
.team-heading h3{
font-size: 2.6rem;
}
}
@media(max-width:300px){
.t-s-img{
height: 280px;
}
}

Comments