Subscription Card Design using HTML & CSS

                                                                                















































Hello Developers, we are excited to introduce a highly flexible and efficient Flexbox layout snippet, expertly crafted with HTML and CSS. This snippet allows you to create dynamic and responsive layouts for your website, offering an adaptable way to arrange content in a clean and organized manner. The Flexbox layout is perfect for designing user interfaces that require complex alignment, spacing, and distribution of items, making it a powerful tool for modern web design. The Flexbox layout snippet is fully responsive, ensuring your content looks great on any device, from desktops to smartphones. The layout is designed to be highly customizable, allowing you to control the alignment, direction, order, and size of items within a container. By utilizing CSS Flexbox properties, you can create flexible and unique designs that adapt seamlessly to different screen sizes and orientations, enhancing the overall user experience. Incorporating this HTML and CSS Flexbox layout snippet into your website not only improves its visual appeal but also enhances its functionality. This snippet demonstrates your commitment to quality web design, providing a robust framework for organizing content. Whether you are creating a navigation menu, a gallery, or a complex webpage layout, this Flexbox layout will help you present your content in a professional and aesthetically pleasing manner. Experiment with different configurations and styles to create a layout that perfectly matches your vision and requirements.

How to make Subscription Card 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>Subscription card Using HTML & CSS</title> <meta name="description" content="Responsive Profile card Using HTML & CSSt. Made by learningrobo.com"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="form,responsive,learningrobo.com,html & css projects,project,Subscription card"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <meta charset="UTF-8"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'> <link rel="stylesheet" href="style.css"> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="mp"> <div class="head">SUBSCRIBE</div> <div class="middle"> <div class="a"> <div class="a1"></div> <div class="a2">Monthly price</div> <div class="a3">Video quality</div> <div class="a4">Resolution</div> <div class="a5">Devices you can use to watch</div> <div class="a6"></div> <div class="a7"></div> <div class="a8"></div> </div> <div class="b"> <div class="b1">Mobile</div> <div class="b2">$ 149</div> <div class="b3">Good</div> <div class="b4">480p</div> <div class="b5"> <a href="#"> <i class='bx bx-mobile-alt'></i> </a> <span>Mobile</span> </div> <div class="b6"> <a href="#"> <i class='bx bx-tab'></i> </a> <span>Tab</span> </div> <div class="b7"> <a href="#"> <i class='bx bx-desktop' ></i> </a> <span>Computer</span> </div> <div class="b8"> <a href="#"> <i class='bx bx-tv' ></i> </a> <span>TV</span> </div> </div> <div class="c"> <div class="c1">Basic</div> <div class="c2">$ 199</div> <div class="c3">Good</div> <div class="c4">480p</div> <div class="c5"> <a href="#"> <i class='bx bx-mobile-alt'></i> </a> <span>Mobile</span> </div> <div class="c6"> <a href="#"> <i class='bx bx-tab'></i> </a> <span>Tab</span> </div> <div class="c7"> <a href="#"> <i class='bx bx-desktop' ></i> </a> <span>Computer</span> </div> <div class="c8"> <a href="#"> <i class='bx bx-tv' ></i> </a> <span>TV</span> </div> </div> <div class="d"> <div class="d1">Standard</div> <div class="d2">$ 499</div> <div class="d3">Better</div> <div class="d4">1080p</div> <div class="d5"> <a href="#"> <i class='bx bx-mobile-alt'></i> </a> <span>Mobile</span> </div> <div class="d6"> <a href="#"> <i class='bx bx-tab'></i> </a> <span>Tab</span> </div> <div class="d7"> <a href="#"> <i class='bx bx-desktop' ></i> </a> <span>Computer</span> </div> <div class="d8"> <a href="#"> <i class='bx bx-tv' ></i> </a> <span>TV</span> </div> </div> <div class="e"> <div class="e1">Premium</div> <div class="e2">$ 649</div> <div class="e3">Best</div> <div class="e4">4k+HDR</div> <div class="e5"> <a href="#"> <i class='bx bx-mobile-alt'></i> </a> <span>Mobile</span> </div> <div class="e6"> <a href="#"> <i class='bx bx-tab'></i> </a> <span>Tab</span> </div> <div class="e7"> <a href="#"> <i class='bx bx-desktop' ></i> </a> <span>Computer</span> </div> <div class="e8"> <a href="#"> <i class='bx bx-tv' ></i> </a> <span>TV</span> </div> </div> </div> </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
**/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    box-sizing: border-box;
    margin: 0px;
    font-family: 'Poppins', sans-serif;
}
.container{
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right,rgb(231, 231, 171),rgb(255, 155, 42));
}
.container .mp{
    display: flex;
    flex-direction: column;
    height: 3.8vh;
    width: 80vw;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    overflow:hidden;
    cursor: pointer;
}
.container .mp:hover{
    height: 80vh;
    transition: height ease-in-out 0.3s;
}
.container .mp .head{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10vh;
    width: 100%;
    background-color: gold;
    border-radius: 10px;
}
.container .mp .middle{
    display: flex;
    height: 80vh;
    width: 100%;
}
.container .mp .a{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 30vw;
    padding: 10px;
    gap: 10px;
}
.container .mp .b, .c, .d, .e{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 12.5vw;
    padding: 10px;
    gap: 10px;
}
.container .mp .a .a1, .a6, .a7, .a8{
    height: 12.5%;
    width: 100%;
}
.container .mp  .b1, .c1, .d1, .e1{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 12.5%;
    width: 100%;
    background-color: rgb(240, 240, 142);
    border-radius: 20px;
}
.container .mp  .a2, .a3, .a4, .a5, .b1 ~ div, .c1 ~ div, .d1 ~ div, .e1 ~ div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 12.5%;
    width: 100%;
    background-color: white;
}
.container .mp .b4 ~ div  i, .c4 ~ div a i, .d4 ~ div a i, .e4 ~ div a i{
    color: black;
    font-size: 25px;
}
.container .mp .a2, .b2, .c2, .d2, .e2, .a3, .b3, .c3, .d3, .e3, .a4, .b4, .c4, .d4, .e4{
    border-bottom: 2px solid gainsboro;
}
.container .mp .a ~ div:hover{
    color: rgb(255, 102, 0);
    transform: translate3d(10px, 10px, 10px);
    cursor: pointer;
}
.credit a {
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
.credit {
    height: 10vh;
    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 Subscription Card using HTML and CSS.

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