Welcome back! In today's video tutorial, we're thrilled to guide you through the process of creating the "Get Involved" section for your Dog Shelter website project. This section features three engaging cards that outline various ways in which individuals can contribute and make a positive impact on the lives of sheltered dogs. So, let's dive in and start building a "Get Involved" section.
In today's video tutorial, we've crafted an engaging section featuring a compelling heading, an inviting introductory paragraph, and three responsive cards that gracefully move upon hover. This tutorial not only showcases the power of responsive design but also adds an element of interactivity to encourage user engagement. In summary, here is HTML & CSS code that we have used.
< section class="get-involved">
< div class="involvement-section" id="involvement" > < /div >
< h2 class="involvement-heading"> Get Involved </h2 >
< p class="involvement-description-paragraph" > Content Here </p >
< div class="involvement-options" >
< div class="involvement-option">
< div class="involvement-icon" > 🙌 lt; /div>
< div class="involvement-title" > Volunteer < /div >
<div class="involvement-description" > Join our team of dedicated volunteers and help care for our dogs. < /div >
Please repeat for two more cards.
.involvement-section {
padding: 80px 0;
background-color: #f4f4f4;
text-align: center;
}
.involvement-heading {
font-size: 28px;
margin-bottom: 30px;
margin-top:-15px;
}
.involvement-options {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 30px;
}
.involvement-option {
flex: 1;
max-width: 300px;
padding: 20px;
background-color: white;
border: 1px solid #ddd;
border-radius: 5px;
transition: transform 0.3s;
margin-top:40px;
}
.involvement-option:hover {
transform: translateY(-5px);
}
.involvement-icon {
font-size: 36px;
margin-bottom: 10px;
}
.involvement-title {
font-size: 20px;
margin-bottom: 10px;
}
.involvement-description {
font-size: 16px;
color: #666;
}
Now is your turn! Remember: "Practice makes perfect"!