Service card design using HTML and CSS



































Hello Developers, We offer you a dynamic and visually appealing Service section design that presents your information at a glance. This Service section design snippet was created with precision in HTML and CSS. A service card snippet is a dynamic web element created with HTML and CSS. A service card snippets combines beautiful images with brief descriptions to appeal to your audience and provide them with a pleasant user experience. Enhance the look and feel of your website with service card snippets. A service card is a great way to showcase the key features of your business. With the Service section design, you can display information on desktops, laptops, tablets and smartphones. With this HTML and CSS service snippet, you not only share information, but also demonstrate your commitment to professionalism and modern web design. Show yourself and interact with the world with this innovative and creative Service section design snippet. Note: We have coded CSS in a separate file and linked it to the HTML file to create a design snippet for the service area.

How to make Service card design using html and css.[Source Code]

To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html> <head> <title>Service Card UI design - learningrobo</title> <meta name="description" content="Service Card UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="service card,responsive,learningrobo.com,html & css projects,project"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <link rel="stylesheet" href="style.css"> <meta charset="UTF-8"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap" rel="stylesheet"> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="main"> <div class="section1"> <div class="head1"> <p>A leading</p> <p>Consult</p> <p>services</p> <span>your company description here. Add some more text here to describe your service</span> <button type="submit">All Services</button> </div> <div class="head2"> <img src="https://cdn-icons-png.flaticon.com/512/4838/4838786.png" alt="strategy icon"> <p>STRATEGY & PLANNING</p> <ul> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Time for lead research, work</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Traders & Stocks</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Business Opportunities</li> </ul> <button type="submit">Get Details →</button> </div> <div class="head3"> <img src="https://cdn-icons-png.flaticon.com/512/3749/3749967.png" alt="investment icon"> <p>INVESTMENT POLICY</p> <ul> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Time for lead research, work</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Traders & Stocks</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Business Opportunities</li> </ul> <button type="submit">Get Details →</button> </div> </div> <div class="section2"> <div class="head4"> <img src="https://cdn-icons-png.flaticon.com/512/2660/2660549.png" alt="tax icon"> <p>TAX MANAGEMENT</p> <ul> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Time for lead research, work</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Traders & Stocks</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Business Opportunities</li> </ul> <button type="submit">Get Details →</button> </div> <div class="head5"> <img src="https://cdn-icons-png.flaticon.com/512/1992/1992220.png" alt="strategy icon"> <p>FINANCIAL ADVICES</p> <ul> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Time for lead research, work</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Traders & Stocks</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Business Opportunities</li> </ul> <button type="submit">Get Details →</button> </div> <div class="head6"> <img src="https://cdn-icons-png.flaticon.com/512/231/231138.png" alt="strategy icon"> <p>INVESTMENT POLICY</p> <ul> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Time for lead research, work</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Traders & Stocks</li> <li><i class="fa-solid fa-circle-check" style="color: #01a7fa;"></i> Business Opportunities</li> </ul> <button type="submit">Get Details →</button> </div> </div> </div> <div class="credit">Made with <span>❤ </span>by <a href="https://www.learningrobo.com/"> learningrobo</a></div> </div> <!--Check our website Regularly For New Snippets Post--> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and remember that you have to make a file with a .css extension.


/** 
Hello Future Developer Thanks for Using learningrobo.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
*{
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    margin: 0%;
}
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main{
    width: 85vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.section1{
    width: 98%;
    height: 48%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.head1{
    width: 28%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head1 p{
    margin: 0%;
    font-weight: bold;
    font-size: 35px;
    margin-left: 10px;
}
.head1 span{
    font-size: 15px;
    margin: 10px;
}
button{
    padding: 10px;
    width: 40%;
    outline: none;
    border: none;
    background-color: #b39ddc;
    margin-left: 10px;
    font-size: 16px;
    color: white;
}
.head2{
    width: 28%;
    height: 100%;
    background-color: #fef8dd;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head2 img{
    width: 50px;
    height: 50px;
    margin: 10px;
}
ul li{
    list-style: none;
    margin-left: -15px;
}
.head3{
    width: 28%;
    height: 100%;
    background-color: #caf1de;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head3 img{
    width: 50px;
    height: 50px;
    margin: 10px;
}
.section2{
    width: 98%;
    height: 48%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.head4{
    width: 28%;
    height: 100%;
    background-color: #ffe9ee;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head4 img{
    width: 50px;
    height: 50px;
    margin: 10px;
}
.head5{
    width: 28%;
    height: 100%;
    background-color: #fef8dd;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head5 img{
    width: 50px;
    height: 50px;
    margin: 10px;
}
.head6{
    width: 28%;
    height: 100%;
    background-color: #ffe9ee;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 5px;
    border-radius:10px;
}
.head6 img{
    width: 50px;
    height: 50px;
    margin: 10px;
}
p{
    margin: 10px;
    font-weight: bolder;
    font-size: 20px;
    letter-spacing: 1px;
}
ul li{
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}
@media screen and (max-width:1024px){
    .container{
        height: fit-content;
    }
    .main{
        padding:20px 0px;
        width:100%;
        height: fit-content;
    }
    .section1{
        flex-direction: column;
        align-items: center;
        row-gap:20px;
        margin:10px 0px;
        width: 100%;
        height:fit-content;
    }
    .section2{
        flex-direction: column;
        align-items: center;
        row-gap:20px;
        width: 100%;
        margin:10px 0px;
        height: fit-content;
    }
    .head1{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
    .head2{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
    .head3{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
    .head4{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
    .head5{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
    .head6{
        padding:10px;
        width: 80%;
        height:fit-content;
    }
}
@media screen and (max-width:630px){
    .container{
        height: fit-content;
    }
    .main{
        width: 100%;
        height: fit-content;
        row-gap: 15px;
    }
    .section1{
        width: 100%;
        height: max-content;
        flex-direction: column;
        align-items: center;
        row-gap: 15px;
    }
    .head1{
        width: 80%;
        height: 100%;
    }
    .head2{
        width: 80%;
        height: 100%;
    }
    .head3{
        width: 80%;
        height: 100%;
    }
    .section2{
        width: 100%;
        height: max-content;
        flex-direction: column;
        align-items: center;
        row-gap: 15px;
    }
    .head4{
        width: 80%;
        height: 100%;
    }
    .head5{
        width: 80%;
        height: 100%;
    }
    .head6{
        width: 80%;
        height: 100%;
    }
    button{
        margin: 15px auto;
    }
}
.credit a{
    text-decoration: none;
    color: black;
    font-weight: 800;
}
.credit{
    color: black;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
}
We hope you would like this Service card design using html and css.

Thank you for reading our blog. If you face any problem in Creating a Service card design using html and css., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.

Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome