Freemium Business Model
In this assignment, let's build a Freemium Business Model 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:
#eff7ff
#0b4870
Text color Hex Code values:
#f0f0f0
#f4f3f3
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html,
body {
min-height: 100%;
}
body {
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
@media (max-width: 768px) {
body {
background-image: url(images/background-mobile.jpg);
width: 120px;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
body {
background-image: url(images/background-tablet.jpg);
width: 24px;
}
}
</style>
</head>
<body>
</body>
</html>
Comments
Leave a comment