29 lines
870 B
CSS
29 lines
870 B
CSS
|
.main-canvas {
|
||
|
outline: 1px solid #dddddd;;
|
||
|
width: 500px;
|
||
|
height: 220px;
|
||
|
margin: 50px auto 0;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.box{
|
||
|
width: 62px;
|
||
|
height: 100px;
|
||
|
position: absolute;
|
||
|
top: 100px;
|
||
|
font-size: 24px;
|
||
|
color: #ffffff;
|
||
|
line-height: 25px;
|
||
|
text-align: center;
|
||
|
cursor: move;
|
||
|
}
|
||
|
|
||
|
.card1 { left: 0; top: 0; background-color: #E74C3C; }
|
||
|
.card2 { left: 100px; top: 0; background-color: #8E44AD; }
|
||
|
.card3 { left: 200px; top: 0; background-color: #5DADE2; }
|
||
|
.card4 { left: 300px; top: 0; background-color: #1ABC9C; }
|
||
|
.card5 { left: 400px; top: 0; background-color: #F1C40F; }
|
||
|
.card6 { left: 50px; top: 120px; background-color: #F39C12; }
|
||
|
.card7 { left: 150px; top: 120px; background-color: #34495E; }
|
||
|
.card8 { left: 250px; top: 120px; background-color: #FF00FF; }
|
||
|
.card9 { left: 350px; top: 120px; background-color: #008080; }
|