Creating a Responsive Beautiful Menu Card Using HTML and CSS [Source Code]
To make this website, you would like to make three 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>
MENU CARD DESIGN
rel="stylesheet" href="style.css"
name="viewport" content="width=device-width, initial-scale=1.0"
rel="preconnect" href="https://fonts.googleapis.com"
rel="preconnect" href="https://fonts.gstatic.com" crossorigin
href="https://fonts.googleapis.com/css2?family=Caveat&display=swap" rel="stylesheet"
class="menu-card-container"
COFFEE CARD ~ always fresh..always hot ~
src="https://cdn.pixabay.com/photo/2015/10/23/15/51/coffee-1003185__480.jpg"
COFFEE
style="list-style-type:disc;"
Espresso ----------------- $5
Americano -------------- $3
Cappuccino ------------- $6
Mocha ------------------- $6
Cafe Latte --------------- $6
Caramel Macchiato ---- $7
Piccolo ------------------ $7
OTHERS
body{
background: #4e54c8; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #8f94fb, #4e54c8); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #8f94fb, #4e54c8); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.menu-card-container{
margin: 20px 15%;
width:60%;
background: #000000;
background: -webkit-linear-gradient(to right, #434343, #000000);
background: linear-gradient(to right, #434343, #000000);
padding:5%;
border-radius: 40px;
}
h1{
background-image: linear-gradient(to right, #ee00ff 0%, #fbff00 100%);
color: transparent;
-webkit-background-clip: text;
text-align: center;
font-size:60px;
}
img{
width:100px;
Thank you for reading our blog. If you face any problem in creating this Responsive Beautiful Menu 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.
code developed by our student SUBHASRI K
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