Table of Contents

Service card css modern ui

Share Now :

Title : Service card css modern ui | W3pupil

Description

Hello W3PUPIL!!

W3pupil provides a dynamic and visually appealing service card snippet that showcases your information in a single glance. This service card snippet is created with precision using HTML and CSS.

A service card snippet is a dynamic web element created using HTML and CSS to showcase your offerings. It combines visually appealing images with brief descriptions to engage your audience and provide them with an engaging user experience. Enhance the look and feel of your website by utilizing service card snippets, a powerful tool for displaying your business’s essential features. Finally, the testimonial card is completely responsive, allowing users to view the information on a variety of devices, including desktops, laptops, tablets, and smartphones.

With this HTML and CSS-powered service card snippet, you’re not just sharing information – you’re making a statement about your commitment to professionalism and modern web design. Impress, engage, and connect with the world through this creative and informative service card snippet.

Let's know how to create a file..

Creating and managing files and folders efficiently is crucial for a seamless development experience. A step-by-step tutorial is provided below:

W3pupil’s suggestion is to download and install Visual Studio Code.

  • After the successful completion of downloading and installing, open Visual Studio Code.
  • Create a new folder in your desktop.
  • Go to file and then open the folder created.
  • Then add a file for html with “.html” or “.htm” extension.
  • Also add another file for css with “.css” extension.
  • Now, you have a blank HTML file and CSS file ready for your code.

Let's know how to open a downloaded file..

  • After downloading the snippet file from W3pupil, you will receive a zip file.
  • Extract the file and open it in Visual Studio Code.
  • Now you have the HTML file and CSS file to work with.
  • Take time to fully understand the code’s functionality before making any desired changes.

Let's take a look at a code snippet created by W3pupil team using HTML and CSS.

HTML SOURCE CODE LOGO

HTML Source Code

HTML (Hypertext Markup Language) is a standard markup language for creating web pages, defining their structure and content using a system of tags and elements. (index.html)

  <!--Hello Future Developer Thanks for Using w3pupil.com, Share & Support us-->
<div class="section1">
<div class="container">
    <div class="card">
        <div class="cardin1">
            <img src="https://cdn.pixabay.com/photo/2017/01/29/13/21/mobile-devices-2017980_1280.png" alt="Profile Image">
            <h2>Web Development</h2>
            <h6>We design & Develop Websites</h6>
        </div>
    </div>
    <div class="card">
        <div class="cardin1">
            <img src="https://cdn.pixabay.com/photo/2016/04/01/11/09/cartoon-1300224_1280.png" alt="Profile Image">
            <h2>App Development</h2>
            <h6>We design & Develop Apps</h6>
        </div>
    </div>
    <div class="card">
        <div class="cardin1">
            <img src="https://cdn.pixabay.com/photo/2014/06/13/00/07/social-367942_1280.png" alt="Profile Image">
            <h2>Digital Marketing</h2>
            <h6>We Promote you to Digital users</h6>
        </div>
    </div>
</div>
<div class="credit">Made with <span>❤ </span>by <a href="https://www.w3pupil.com/">W3pupil</a></div>
</div>
<!--Check our website Regularly For New Snippets Post-->  
CSS SOURCE CODE IMAGE

CSS Source Code

CSS (Cascading Style Sheet) enhances website aesthetics and layout, applying styles and design elements to create a visually appealing and responsive user interface. (style.css)

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

Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Play&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: Arial, sans-serif;
    margin:0%;
}
.section1{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    background-image: linear-gradient(-225deg, #5271C4 0%, #B19FFF 48%, #ECA1FE 100%);
}
.container{
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content:center;
    width:1000px;
    column-gap:10px;
    height: fit-content;
}
.card{
    text-align: center;
    z-index:0;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content:center;
    border-radius: 10px;
    width:calc((1000px / 3) - 30px);
    height:300px;
    background-color:#fff;
    padding:10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    transition:1s;
}
.card:nth-child(2){
    height:350px;
    margin:0px -20px;
    z-index:1;
}
.cardin1{
    padding:10px 10px;
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items: center;
    height:300px;
}
.cardin1 img{
    width: 150px;
    height: 150px;
    margin:0px;
    object-fit:contain;
}
.cardin1 h2{
    margin:10px 0px;
    font-family: 'Play', sans-serif;
    font-size: 25px;
}
.cardin1 h6{
    margin:0px 0px 20px 0px;
    font-size:10px;
}
@media only screen and (max-width: 1024px){
    .container{
        width:98%;
        flex-direction:row;
        flex-wrap: wrap;
    }
    .card{
        width:calc((98% / 3) - 5px);
        margin:10px 0px;
    }
    .card:nth-child(2){
        height:300px;
        margin:0px;
        z-index:0;
    }
}
@media only screen and (max-width: 630px){
    .section1{
        height: fit-content;
    }
    .container{
        width:96%;
        flex-direction:column;
    }
    .card{
        width:100%;
        margin:10px 0px;
    }
    .card:nth-child(2){
      height:300px;
      margin:0px;
      z-index:0;
    }
}
.credit a{
    text-decoration: none;
    color: #fff;
    font-weight: 800;
}
.credit{
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}  

Note :

  • The CSS is coded in a separate file and linked to the HTML file.

Download :

Share and Support W3pupil.com

Conclusion :

To modify the code, you can download the snippet’s source code files. To enhance your skills in HTML and CSS, you can try to recreate other creative HTML and CSS snippets available on W3pupil. In case you experience any technical related doubts, you are welcome to contact W3pupil. We’ll try to solve your request at the earliest.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :