Pricing Card Design using HTML and CSS



























Hello Developers, we introduce a sleek and captivating pricing table that features four comprehensive plans: Free, Basic, Standard, and Premium. This pricing table snippet, expertly crafted with HTML and CSS, offers a clear and appealing display of your pricing options, allowing users to easily compare features and select the plan that best fits their needs. Designed for user-friendliness and full responsiveness, this pricing table guarantees an optimal viewing experience across all devices, from desktops to tablets and smartphones. The clean and professional layout enhances the user experience, with each plan distinctly separated yet harmoniously integrated into the overall design. The Free plan provides an accessible entry point, while the Basic, Standard, and Premium plans offer progressively more features, catering to a wide range of user needs and preferences. By incorporating this HTML and CSS pricing table snippet into your website, you are not just providing essential information but also showcasing your dedication to quality and professional web design. This snippet reflects your attention to detail and commitment to offering a seamless and visually pleasing user experience. Engage your audience and drive conversions with this elegant and functional pricing table, designed to meet the high standards of modern web development.

How to make Pricing 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 lang="en"> <head> <title>Responsive Pricing card Using HTML & CSS</title> <meta name="description" content="Responsive Pricing card Using HTML & CSSt. Made by learningrobo.com"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="responsive,learningrobo.com,html & css projects,project,Pricing card"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <link rel="stylesheet" href="styles.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=Roboto+Slab:wght@300&display=swap" rel="stylesheet"> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="p1"> <div class="head"> <span id="heading">Pricing Table</span> <hr id="line"> </div> <div class="content"> <div class="card"> <div class="title"> <span id="title">Starter</span> </div> <div class="price"> <div class="box" id="color1"> <span id="price"><sup style="font-size: 13px;">$</sup>5.99 <sup style="font-size: 13px;">/month</sup></span> </div> </div> <div class="words"> <span id="words">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Officiis, non. Cum maiores ullam repellat nobis veniam, ea consectetur consequuntur exercitationem aliquid.</span> </div> <button class="btn">Learn more</button> </div> <div class="card"> <div class="title"> <span id="title">Starter</span> </div> <div class="price"> <div class="box" id="color2"> <span id="price"><sup style="font-size: 13px;">$</sup>5.99 <sup style="font-size: 13px;">/month</sup></span> </div> </div> <div class="words"> <span id="words">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Officiis, non. Cum maiores ullam repellat nobis veniam, ea consectetur consequuntur exercitationem aliquid.</span> </div> <button class="btn">See more  <ion-icon name="arrow-forward-circle-outline"></ion-icon></button> </div> <div class="card"> <div class="title"> <span id="title">Starter</span> </div> <div class="price"> <div class="box" id="color1"> <span id="price"><sup style="font-size: 13px;">$</sup>5.99 <sup style="font-size: 13px;">/month</sup></span> </div> </div> <div class="words"> <span id="words">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Officiis, non. Cum maiores ullam repellat nobis veniam, ea consectetur consequuntur exercitationem aliquid.</span> </div> <button class="btn">Learn more</button> </div> </div> </div> </div> <script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script> <script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script> <div class="credit">Made with <span>❤ </span>by<a href="https://www.learningrobo.com/">learningrobo</a></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;
}
.container{
    height: 100vh;
    width: 100vw;
    background: url('https://cdn.pixabay.com/photo/2016/11/29/06/37/lines-1867838_1280.jpg');
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
.p1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 500px;
    width: 1000px;
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
}
.head {
    width: 100%;
    height: 20%;
    background-color:transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: aliceblue;
}
#line{
    border: 1.5px;
    border-style: solid;
    width: 60px;
}

.content{
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: space-evenly;  
}
.card {
    width: 270px;
    height: 89%;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 6px 6px 10px -1px rgba(0,0,0,0.15),-6px -6px 10px -1px rgba(255,255,255,0.7);
}
.title{
    height: 20%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#title{
    font-size: 1em;
    font-weight: 600;
}
.price{
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: right;
}
.box{
    height: 80%;
    width: 250px;
    display: flex;
    box-shadow: 6px 6px 10px -1px rgba(0,0,0,0.15),-6px -6px 10px -1px rgba(255,255,255,0.7);
    border-radius: 500px 0 0 500px;
    align-items: center;
    justify-content: center;
}
.words{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    height: 40%;
}
#words{
    font-size: 12px;
    font-weight: 500;
}
#price{
    font-size: 25px;
    font-weight: 800;
    color: rgb(255, 255, 255);
}
.btn {
    width: 130px;
    height: 40px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #302d2d;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: all .4s;
    display: flex;
    margin-left: 25%;
    justify-content: center;
    align-items: center;
}
.btn:hover {
    border-radius: 5px;
    transform: translateY(-10px);
    box-shadow: 0 7px 0 -2px #f85959,0 15px 0 -4px #39a2db,0 16px 10px -3px #39a2db;
}
   
.btn:active {
    transition: all 0.2s;
    transform: translateY(-5px);
    box-shadow: 0 2px 0 -2px #f85959,0 8px 0 -4px #39a2db,0 12px 10px -3px #39a2db;
}
#color1{
    background: linear-gradient(to right ,rgb(243, 108, 108),#ecbb84);
}
#color2{
    background: linear-gradient(to right,rgb(96, 232, 157),rgb(139, 255, 236))
}
#heading{
    font-size: 1.5em;
    font-weight: 800;
}
@media screen and (max-width:850px){
    .container{
        height: auto;
        width: auto;
    }
    .p1{
        height: auto;
        width: auto;
    }
    .content{
        flex-direction: column;
    }
    .card{
        width: 270px;
        height: 400px;
        margin-top: 20px;
    }
}
.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:#000;
    font-size:20px;
}   
We hope you would like this Pricing Card Design using HTML and CSS.

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

إرسال تعليق

Thank you
Learning robo team

Post a Comment (0)

أحدث أقدم
Learning Robo says...
code copied
Welcome