How to make Product Bill 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=Play&display=swap');
*{
box-sizing: border-box;
}
body{
font-family: Arial, sans-serif;
margin:0%;
}
.section1{
height: 100vh;
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
background: #8A2387;
background: -webkit-linear-gradient(to right, #F27121, #E94057, #8A2387);
background: linear-gradient(to right, #F27121, #E94057, #8A2387);
}
.card{
display: flex;
flex-direction:column;
justify-content:space-between;
border-radius: 10px;
width:700px;
height:fit-content;
background-color:#fff;
padding:20px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.cardin2{
display: flex;
flex-direction:column;
align-items: center;
height:fit-content;
padding:5px;
}
.cardin2 table{
margin:10px 0px;
width:100%;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.cardin2 table th{
text-align: left;
background-color: #ddd;
}
.cardin2 table,th,td{
padding:10px;
}
.cardin2 table th:first-child{
border-radius:10px 0 0 10px;
}
.cardin2 table th:last-child{
border-radius:0 10px 10px 0;
}
.cardin2 table tr:last-child td:first-child{
text-align:right;
}
.cardin2 table tr td:last-child{
text-align:right;
}
.cardin2 button{
margin:5px 5px 0 auto;
border:none;
padding:15px 25px;
font-size:16px;
background-color:rgb(77, 164, 77);
border-radius:10px;
color:#fff;
transition:.5s;
}
.cardin2 button:hover{
transform: scale(1.05);
cursor: pointer;
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}
@media only screen and (max-width: 630px){
.card{
width:98%;
}
.cardin2{
justify-content: center;
}
}
.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 Product Bill 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