Quote Card using HTML and CSS

























Hello Developers, Learning Robo provides a dynamic and eye-catching quote card snippet to display your details at a glance. This quote card snippet is exactly how it looks in HTML and CSS. The Inspirational Quote Card Snippet is an easy-to-use HTML and CSS-based quote card snippet that makes your content stand out from the crowd and showcase your message. This quote card snippet is designed in a modern, creative way so that your favourite quotes or inspirational phrases will be displayed prominently. It is responsive, meaning that it can be used on any device, including desktop, laptop, tablet, and mobile. Get creative and showcase your skills with this inspirational quote card snippet. Note: CSS is a piece of code that is stored in a separate file that is connected to the HTML file.

How to make Quote 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> <head> <title>Quote Card UI design - learningrobo</title> <meta name="description" content="Quote Card UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="quote 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"> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="card"> <div class="card1"> <img src="https://cdn.pixabay.com/photo/2022/05/29/05/23/quotation-mark-7228450_1280.png" height="100px" width="150px"> <h2>If you want to shine like a sun, first burn like a sun</h2> <h5>- A.P.J.Abdul Kalam</h5> <div class="credit">Made with <span style="color:tomato;font-size:20px;">❤ </span>by <a href="https://www.learningrobo.com/"> learningrobo</a></div> </div> </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=Mukta:wght@300&family=Nunito+Sans:opsz,wght@6..12,300&display=swap');
*{
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color:#9F8772;
}
.container{
    min-height: 100vh;
    max-height:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card{
    display: flex;
    flex-direction:column;
    justify-content: center;
    background-color:#FFF8EA;
    border-radius:10px;
    width:400px;
    height:400px;
    padding:0px 0px 10px 0px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.card1{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    padding:0px 20px;
}
.card1 h2{
    margin-top:15px;
    font-family: 'Mukta', sans-serif;
    font-size: 26px;
    color: #174894;
    text-align: center;
    font-weight:900;
}
.card1 h5{
    margin-top: 0;
    color: #174894;
}
@media only screen and (max-width: 1024px){
    .card1{
        margin:10px;
    }
}
@media only screen and (max-width: 630px){
    .card{
        width:95%;
        height: fit-content;
    }
    .card1{
        margin:10px;
    }
}
.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;
}
We hope you would like this Quote Card using HTML and CSS.

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