further project work
add background image add and initial styling of header and footer (will change colors later)
This commit is contained in:
parent
666e8f3abc
commit
1e764e68a9
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -8,10 +8,15 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<header>for you, emma <3</header>
|
||||
<div class="container">
|
||||
<div class="cupcakes"></div>
|
||||
<img src="./img/sweets.jpg" alt="a box of chocolate cupcakes">
|
||||
</div>
|
||||
<script src="./script/script.js" defer></script>
|
||||
<footer>
|
||||
<p>happy valentine's day!</p>
|
||||
<p>credits</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -11,8 +11,10 @@ html {
|
|||
body {
|
||||
height: 100vh;
|
||||
width: auto;
|
||||
background-image: url("/img/background.png");
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
@ -41,3 +43,15 @@ img {
|
|||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
header {
|
||||
width: 100vw;
|
||||
height: 10vh;
|
||||
background: hotpink;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100vw;
|
||||
height: 10vh;
|
||||
background: hotpink;
|
||||
}
|
Loading…
Reference in New Issue