Blog card design template using HTML and CSS





























Hello Developers, We provide you with a dynamic and beautiful Blog card design website which displays your information at a glance. This Blog card design snippet has been created with accuracy using HTML and CSS Creating an exciting Blog card design website using HTML and CSS gives you the chance to impress your audience. You can use HTML to structure your card by defining the contents within the divs, specifying titles, images, and excerpts. You can also use CSS to style your card by enhancing its visual appeal with font choices, colours and layout. The Blog card is fully responsive which means that the information can be displayed on a variety of devices, including desktops, laptops, tablets, and smartphones. So, you are not only sharing information but also demonstrating your commitment to professionalism and modern web design. In conclusion, showcase your creativity with this innovative and innovative blog card design website snippet.

How to make Blog card design template 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>Blog Card UI design - learningrobo</title> <meta name="description" content="Blog Card UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="blog card,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"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="p1"> <div class="d1"> <img src="https://cdn.pixabay.com/photo/2019/03/21/15/49/freelance-4071263_1280.png"> </div> <div class="d2"> <h5>JOB</h5> <h1>Searching for a Side Hustle</h1> <p>Top side hustle ideas include e-commerce stores, website creation, offering tutoring services and blogging for affiliate ...</p> <h3>READ MORE</h3> </div> </div> <div class="p1"> <div class="d1"> <img src="https://cdn.pixabay.com/photo/2020/10/30/08/56/money-5698019_1280.png"> </div> <div class="d2"> <h5>Active Income</h5> <h1>Searching for a Active Income</h1> <p>Top Active Income ideas include e-commerce stores, website creation, offering tutoring services and blogging for affiliate ...</p> <h3>READ MORE</h3> </div> </div> <div class="p1"> <div class="d1"> <img src="https://cdn.pixabay.com/photo/2021/09/15/09/19/money-6626359_1280.png"> </div> <div class="d2"> <h5>Passive Income</h5> <h1>Searching for a Passive Income</h1> <p>Top Passive Income ideas include e-commerce stores, website creation, offering tutoring services and blogging for affiliate ...</p> <h3>READ MORE</h3> </div> </div> </div> <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
**/
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Roboto+Mono:wght@500&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: Verdana,Geneva,Tahoma,sans-serif;
    margin: 0px;
}
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    column-gap:10px;
    flex-wrap: wrap;
    background-color: #303841;
}
.p1{
    width:calc(33.3% - 20px);
    height:70vh;
    background-color: #393e46;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}
.d1{
    width:100%;
    height:30vh;
    border-radius: 10px;
}
.d1 img{
    width:100%;
    height:30vh;
    object-fit:cover;
    border-radius:10px;
}
.d2{
    width:100%;
    height:40vh; 
    padding:10px 30px;
    display:flex;
    flex-direction: column;
    justify-content:center;
}
.d2 h5{
    margin:10px;
    color: #70a288;
}
.d2 h1{
    margin:10px;
    color: #f0a500;
}
.d2 p{
    margin:10px;
    color: #d9bf77;
}
.d2 h3{
    margin:10px;
    color: #eb4d55;
    cursor: pointer;
    display: inline;
}
.d2 h3:hover{
    text-decoration: underline;
}
@media screen and (max-width:1024px){
    .container{
        height: fit-content;
        row-gap:10px;
        padding:10px 0px;
    }
    .p1{
        width:calc(50% - 20px);
        height:fit-content;
    }
    .d2{
        height:fit-content;
    }
}
@media screen and (max-width:630px){
    .container{
        height: fit-content;
        flex-direction:column;
        column-gap:0px;
        row-gap:10px;
        padding:10px 0px;
    }
    .p1{
        width:95%;
        height:fit-content;
    }
    .d2{
        height:fit-content;
    }
}
.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 Blog card design template using HTML and CSS.

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