Table of Contents

Responsive Pricing table

Share Now :

Title : Responsive Pricing table Using Html css | W3pupil

Description

Hello W3PUPIL!!! We offer you a dynamic and visually appealing Responsive Pricing table design that presents your data at a glance. This Responsive Pricing table design snippet was created with precision using HTML and CSS.
Using HTML and CSS, you can create Responsive Pricing table snippets that present your data in an aesthetically pleasing and organized manner. You can create tables that effectively convey information and enhance the user experience by using HTML’s structure and CSS’s styling capabilities. You can also use CSS to add hover effects to your tables. Since this markup is responsive, your tables will be interactive and accessible on any device. Whether it’s a desktop, laptop, tablet, or smartphone, your table will always be displayed in an organized manner.
So by using this HTML and CSS table snippet, you’re not just sharing information – you’re demonstrating your dedication to professionalism and contemporary web design. Overall, show off and interact with the world with this innovative and creative Responsive Pricing table snippet.

Let's know how to create a file..

Creating and managing files and folders efficiently is critical for smooth development. Below is a step-by-step guide.

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

  • After successfully completing the download and installation, open Visual Studio Code.
  • Create a new folder on your desktop.
  • Go to the file and then open the folder you created.
  • Then add a file for HTML with the extension “.html” or “.htm”.
  • Also add another file for CSS with the extension “.css”.
  • Now you have an empty HTML file and a CSS file ready for your code.

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

  • After you download the snippet file from W3pupil, you will get a zip file.
  • After unzipping, you can open the file in Visual Studio Code.
  • Now you have the HTML file and the CSS file to work with.
  • Take your time to fully understand the functionality of the code before making the changes you want in the Responsive Pricing table snippet.

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="container">
<div class="tablebox">
    <table>
        <tr>
            <th>Starter</th>
            <th>Professional</th>
            <th>Business</th>
            <th>Unlimited</th>
        </tr>
        <tr>
            <td>$29 p/m</td>
            <td>$59 p/m</td>
            <td>$99 p/m</td>
            <td>$149 p/m</td>
        </tr>
        <tr>
            <td><b>Unlimited</b> bandwidth</td>
            <td><b>Unlimited</b> bandwidth</td>
            <td><b>Unlimited</b> bandwidth</td>
            <td><b>Unlimited</b> bandwidth</td>
        </tr>
        <tr>
            <td><b>Free</b> setup</td>
            <td><b>Free</b> setup</td>
            <td><b>Free</b> setup</td>
            <td><b>Free</b> setup</td>
        </tr>
        <tr>
            <td><b>3</b> tracks</td>
            <td><b>10</b> tracks</td>
            <td><b>100</b> tracks</td>
            <td><b>Unlimited tracks</b></td>
        </tr>
        <tr>
            <td><b>5%</b> transaction fee</td>
            <td><b>3%</b> transaction fee</td>
            <td><b>2%</b> transaction fee</td>
            <td><b>1%</b> transaction fee</td>
        </tr>
        <tr>
            <td><b>100mb</b> storage</td>
            <td><b>500mb</b> storage</td>
            <td><b>1000mb</b> storage</td>
            <td><b>Unlimited</b> storage</td>
        </tr>
        <tr>
            <td><button type="submit">SIGN UP NOW</button></td>
            <td><button type="submit">SIGN UP NOW</button></td>
            <td><button type="submit">SIGN UP NOW</button></td>
            <td><button type="submit">SIGN UP NOW</button></td>
        </tr>
    </table>
</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
**/
*{
    box-sizing: border-box;
}
body{
    font-family: 'Be Vietnam Pro', sans-serif;
    background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
}
.container{
    min-height:100vh;
    max-height:auto;
    display:flex;
    justify-content:center;
    flex-direction: column;
    align-items:center;
}
.tablebox{
    border-radius: 5px;
    text-align: center;
    width:80vw;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius:5px;
}
table,th,td{
    border: 1px solid #c2c2c2;
    border-collapse: collapse;
}
table{
    width:100%;
    font-size:18px;
}
th{
    padding:15px 3px;
    font-size: 30px;
    color: white;
    background-color: #525252;
}
td{
    padding:20px 10px;

}
tr:nth-child(even){
    background-color: #fff; 
}
tr:nth-child(odd){
    background-color: #f0f0f0; 
}
button{
    padding: 10px;
    width: 250px;
    margin-left: 10px;
    border-radius:5px;
    border: none;
    color: white;
    font-size: 15px;
    background-color: #525252;
}
button:hover{
    cursor: pointer;
}
@media only screen and (max-width: 1024px){
    .tablebox{
        width:95vw;
        height: fit-content;
    }
    th{
        font-size:25px;
    }
    button{
        width:100%;
        margin-left: 0px;
    }
}
@media only screen and (max-width: 630px){
    .container{
        width:100%;
        height:fit-content;
    }
    .tablebox{
        margin:10px 0px;
        width:90vw;
        height: fit-content;
    }
    button{
        width:100%;
        margin-left: 0px;
    }
    .tablebox  th{
        display: none;
    }
    .tablebox  td{
        display:grid;
        grid-template-columns:15ch auto;
        text-align: left;
        padding:5px;
        margin:5px;
        border:none;
    }
    .tablebox td:first-child{
        padding-top: 5px;
    }
    .tablebox td:last-child{
        padding-bottom: 5px;
    }
    .tablebox td:nth-of-type(1)::before{
        content: "Starter" " :";
    }
    .tablebox td:nth-of-type(2)::before{
        content: "Proffessional" " :";
    }
    .tablebox td:nth-of-type(3)::before{
        content: "Business" " :";
    }
    .tablebox td:nth-of-type(4)::before{
        content: "Unlimited" " :";
    }
}
.credit a{
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
.credit{
    color: #121212;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
}       

Note :

  • We have coded CSS in a separate file and linked to the HTML file for creating Responsive Pricing table snippet.
  • We have changed UI for mobile view for that if you add extra header in the table you must add nth-of-child in CSS.

Download :

Share and Support W3pupil.com

Conclusion :

To change the code, you can download the source code files of the snippet. To improve your HTML and CSS skills, you can try rebuilding other creative HTML and CSS snippets available on W3pupil. If you have any technical questions, feel free to contact W3pupil. As soon as possible, we will do our best to resolve your request.

Like Reaction
Like Reaction
Like Reaction
Like Reaction
Like Reaction

LivePreview :