my-cafe-events/cafe-events/valentines-day-25/style/style.css

57 lines
838 B
CSS

*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
height: 100vh;
width: auto;
background-image: url("/img/background.png");
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.container {
height: 75vh;
width: auto;
position: relative;
z-index: 0;
}
.cupcakes {
display: flex;
flex-wrap: wrap;
height: 44vh;
width: 32vw;
top: 15vh;
left: 12vw;
padding-left: 2rem;
padding-top: 2rem;
position: absolute;
z-index: 1;
}
img {
max-height: 100%;
width: auto;
object-fit: contain;
}
header {
width: 100vw;
height: 10vh;
background: hotpink;
}
footer {
width: 100vw;
height: 10vh;
background: hotpink;
}