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.
/**
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;
}
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.
Explore
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.
In Our older post it doesnot work we working on that.
إرسال تعليق
Thank you
Learning robo team