Responsive Pricing table Using HTML and CSS





























Hello Developers, we provide you with a dynamic and beautiful responsive pricing table design that displays your information at a glance. This responsive pricing table design snippet has been designed with accuracy using HTML & CSS. With HTML and CSS, you can create table sections for Responsive Pricing that present your data in an esthetically pleasing and clear way. You can create tables that effectively convey information and improve usability by utilizing HTML structure and CSS styling features. You can also use CSS to add hover effects to your tables. Since this markup is responsive, your tables are interactive and accessible on any device. Whether desktop, laptop, tablet or smartphone, your table will always be clearly displayed. By using this HTML & CSS table snippet you are not only sharing information but you are also showing your commitment to professionalism and modern web design. All in all, you can show off and communicate with the world using this innovative & creative responsive pricing table snippet. Note: We have saved the CSS in a different file and connected it with the HTML file to make the Responsive Pricing table snippets. For this reason, we have modified the UI for mobile view. If you want to add an additional header in the table, you will need to add nth of child in CSS.

How to make Responsive Pricing table 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>Table UI design - learningrobo</title> <meta name="description" content="Table UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="table,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"> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.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" formaction="#">SIGN UP NOW</button></td> <td><button type="submit" formaction="#">SIGN UP NOW</button></td> <td><button type="submit" formaction="#">SIGN UP NOW</button></td> <td><button type="submit" formaction="#">SIGN UP NOW</button></td> </tr> </table> </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: '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;
}     
We hope you would like this Pricing Table Using HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a Pricing Table 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