add colors
This commit is contained in:
@@ -22,6 +22,26 @@
|
|||||||
margin: 100px;
|
margin: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top {
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
.bottom {
|
||||||
|
background: yellow;
|
||||||
|
}
|
||||||
|
.front {
|
||||||
|
background: blue;
|
||||||
|
}
|
||||||
|
.back {
|
||||||
|
background: green;
|
||||||
|
}
|
||||||
|
.left {
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
background: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.cube {
|
.cube {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
@@ -32,10 +52,9 @@
|
|||||||
.face {
|
.face {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
background: skyblue;
|
border: 0px solid black;
|
||||||
border: 2px solid black;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
opacity: 0.7;
|
opacity: 0.9;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user