Design Section
In this assignment, let's build a Design Section by applying the CSS concepts we learned till now.
Refer to the below images.
The following images illustrate all device sizes, from extra small to extra large.
Instructions:
Note
Use the image URL's given below.
Background color Hex Code values:
#12022f
#ffffff
Text color Hex Code values:
#12022f
#7b8794
<!DOCTYPE html>
<html>
<title>PIZZA IS LIFE</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Amatic+SC">
<style>
body, html {height: 100%}
body,h1,h2,h3,h4,h5,h6 {font-family: "Amatic SC", sans-serif}
.menu {display: none}
.bgimg {
min-height: 90%;
}
</style>
<body background="pizza.jpeg">
<div class="w3-display-middle w3-center">
<span class="w3-text-white w3-hide-small" style="font-size:100px">thin<br>CRUST PIZZA</span>
<span class="w3-text-white w3-hide-large w3-hide-medium" style="font-size:60px"><b>thin<br>CRUST PIZZA</b></span>
<p><a href="https://www.pizzahut.com/" class="w3-button w3-xxlarge w3-black">Let me see the menu</a></p>
</div>
<h2 class="w3-tag w3-xlarge">Open from 10am to 12pm</h2>
<h1 class="w3-tag w3-xlarge">MY NAME</h1>
<h1 <a href="https://www.google.com" class="w3-button w3-xlarge w3-black"> MY EMAIL</a></h1>
<h2 style="color:Red;">WHY PIZZA IS BEST</h2>
<ul style="color:Tomato;">
<li>Deliciousness</li>
<li>Never judges </li>
<li>You can eat pizza for any meal of the day</li>
</ul>
</body>
</html>
Comments
Leave a comment