You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/terrarium/solution/style.css

106 lines
1.3 KiB

body {
font-family: helvetica, arial, sans-serif;
}
h1 {
color: #3a241d;
text-align: center;
}
#left-container {
left: 0px;
}
#right-container {
right: 0px;
}
.container {
background-color: #eee;
width: 15%;
top: 0px;
position: absolute;
height: 100%;
padding: 10px;
}
.plant-holder {
position: relative;
height: 13%;
left: -10px;
}
.plant {
position: absolute;
max-width: 150%;
max-height: 150%;
z-index: 2;
}
/*https://codepen.io/Rotarepmi/pen/rjpNZY*/
.jar-walls {
height: 80%;
width: 60%;
background: #d1e1df;
border-radius: 10%;
position: absolute;
bottom: 0.5%;
left: 20%;
opacity: 0.5;
z-index: 1;
}
.jar-top {
width: 50%;
height: 5%;
background: #d1e1df;
position: absolute;
bottom: 80.5%;
left: 25%;
opacity: 0.7;
z-index: 1;
}
.jar-bottom {
width: 50%;
height: 1%;
background: #d1e1df;
position: absolute;
bottom: 0%;
left: 25%;
opacity: 0.7;
}
.dirt {
width: 58%;
height: 5%;
background: #3a241d;
position: absolute;
border-radius: 0 0 4rem 4rem;
bottom: 1%;
left: 21%;
opacity: 0.7;
z-index: -1;
}
.jar-glossy-long {
width: 3%;
height: 20%;
border-radius: 2rem;
background: #ddfbff;
position: absolute;
bottom: 20%;
left: 5%;
}
.jar-glossy-short {
width: 3%;
height: 5%;
border-radius: 2rem;
background: #ddfbff;
position: absolute;
bottom: 45%;
left: 5%;
}