mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-09-08 21:50:50 +02:00
folder names
This commit is contained in:
105
3-terrarium/solution/style.css
Normal file
105
3-terrarium/solution/style.css
Normal file
@@ -0,0 +1,105 @@
|
||||
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%;
|
||||
}
|
Reference in New Issue
Block a user