44 lines
608 B
CSS
44 lines
608 B
CSS
*, *::before, *::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
width: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
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;
|
|
}
|