How to make a Responsive Pricing Table using HTML and CSS | CSS Design

How to Create a Responsive pricing table Using HTML and CSS

In this guide you will learn how to make a Reponsive modern pricing table using HTML & CSS. To create a Responsive pricing table first you need to create two files one HTML file and another one is the CSS file.

1: First, create an HTML file

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pricing Table</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
 
    <div class="pricing-table">
        <!-- 1 card -->
        <div class="pricing-card">
            <h3 class="pricing-card-header">Lean</h3>
            <div class="price"> $4.88/yr
              </div>
            <ul>
                <li>Free control plane included</li>    
            </ul>
            <a href="#" class="order-btn">Order Now</a>                          
        </div>
 
        <!-- 2 card -->
        <div class="pricing-card">
            <h3 class="pricing-card-header">Standard</h3>
            <div class="price"> $8.88/yr
              </div>
            <ul>
                <li>Deploy in seconds</li>
                 
            </ul>
            <a href="#" class="order-btn">Order Now</a>                          
        </div>
 
        <!-- 3 card -->
 
        <div class="pricing-card">
            <h3 class="pricing-card-header">Advanced</h3>
            <div class="price"> $20.88/yr
              </div>
            <ul>
                <li>Free daily backups,</li>
                 
            </ul>
            <a href="#" class="order-btn">Order Now</a>                          
        </div>
 
        <!-- 4th card  -->
        <div class="pricing-card">
            <h3 class="pricing-card-header">Enterprise</h3>
            <div class="price"> $48.88/yr
              </div>
            <ul>
                <li>Highly available</li>
                 
            </ul>
            <a href="#" class="order-btn">Order Now</a>                          
        </div>
         
    </div>
     
</body>
</html>

 

2: Second, create a CSS file


 

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&amp;display=swap');
 
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    list-style: none;
}
 
body{
    background-color: #0D0D20;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
 
.pricing-table{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: min(1920px,100%);
}
 
.pricing-card{
    flex: 1;
    max-width: 360px;
    background-color: #171727;
    margin: 20px 10px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    color: #ffffff;
    transition: .3s linear;
    border-radius: 20px;
    /* border: 0.5px solid #fff; */
     
}
 
.pricing-card-header{
    background-color: #171727;
    display: inline-block;
    color: #fff;
    padding: 12px 30px;
    border-radius: 0 0 20px 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .4s linear;
}
 
.pricing-card:hover .pricing-card-header {
    box-shadow: 0 0 0 26em #242486;
}
 
.price{
    font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    margin: 40px 0;
    transition: .2s linear;
}
 
.price sup, .price span {
    font-size: 22px;
    font-weight: 700;
}
 
.pricing-card li {
    font-size: 16px;
    padding: 10px 0;
    
}
 
.pricing-card:hover , .pricing-card:hover .price {
    color: #fff;
}
 
 
 
.order-btn {
    display: inline-block;
    margin-bottom: 40px;
    margin-top: 80px;
    border: 2px solid #1F1F35;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 500;
    transition: .3s linear;
}
 
.order-btn:hover {
    background-color: #0fbcf9;
    color: #fff;
}
 
@media screen and (max-width:1100px)
{
    .pricing-card{
        flex: 50%;
    }
}

Now you’ve successfully created Responsive Pricing Tables using only HTML & CSS.

👉 How to make a Responsive Pricing Table using HTML and CSS with Video Tutorial

In this video we will see how to make a resposive pricing table using HTML and CSS

Subscribe: https://www.youtube.com/c/TechieCoder/featured

#html #css

What is GEEK

Buddha Community

How to make a Responsive Pricing Table using HTML and CSS | CSS Design
anita maity

anita maity

1621077133

Responsive Footer Design using HTML, CSS & Bootstrap

Hello Readers, welcome to my other blog, today in this blog I’m going to create a Responsive Footer by using HTML & CSS only. Earlier I have shared How to create a Responsive Navigation Menu and now it’s time to create a footer section.

As you can see on the image which is given on the webpage. There are various important topics there like About us, Our services and subscribes, some social media icons, and a contact section for easy connection. I want to tell you that it is fully responsive. Responsive means this program is fit in all screen devices like tablet, small screen laptop, or mobile devices.

Live Demo


#responsive footer html css template #footer design in html #simple footer html css code #simple responsive footer codepen #responsive footer code in html and css #responsive footer html css codepen

wp codevo

wp codevo

1608041337

RESPONSIVE Personal PORTFOLIO Website HTML CSS And JAVASCRIPT

https://youtu.be/J8g9gyzhEoM

#responsive website using html5 and css3 #portfolio website #one page personal website html css #portfolio website design in html css #css responsive website design #responsive website html css

wp codevo

wp codevo

1608043308

Responsive Personal Portfolio Website using HTML CSS & JavaScript

https://youtu.be/CHQvM4oS7ww

#responsive website using html5 and css3 #responsive website html css #portfolio website #portfolio website design in html css #complete responsive website in html css javascript #one page personal website

anita maity

anita maity

1618667723

Sidebar Menu Using Only HTML and CSS | Side Navigation Bar

how to create a Sidebar Menu using HTML and CSS only. Previously I have shared a Responsive Navigation Menu Bar using HTML & CSS only, now it’s time to create a Side Navigation Menu Bar that slides from the left or right side.

Demo

#sidebar menu using html css #side navigation menu html css #css side navigation menu bar #,pure css sidebar menu #side menu bar html css #side menu bar using html css

Nandini roy

Nandini roy

1618667097

Responsive Personal Portfolio Website Using HTML CSS and JavaScript

Tutorial: https://youtu.be/9DDiorNZiyw

#create a portfolio website with html css javascript #personal portfolio complete website using only html css javascript #responsive portfolio website html css javascript #responsive personal portfolio website #portfolio website #responsive website