add colors

This commit is contained in:
2025-03-21 17:42:47 +01:00
parent d682b0da45
commit 7918d0720e

View File

@@ -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;