mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
63 lines
913 B
CSS
63 lines
913 B
CSS
.container {
|
|
padding: 10px;
|
|
background-color: #fbfbfb;
|
|
}
|
|
|
|
.list {
|
|
padding: 20px;
|
|
margin: 20px;
|
|
background-color: #f00;
|
|
border: 20px solid #000;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.list-item {
|
|
width: 150px;
|
|
height: 100px;
|
|
margin: 5px;
|
|
position: relative;
|
|
display: inline-block;
|
|
background-color: #0f0;
|
|
}
|
|
|
|
.list-item:hover {
|
|
top: -3px;
|
|
}
|
|
|
|
.list-item:active,
|
|
.list-item.active {
|
|
top: 0;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.list-item text {
|
|
text-align: center;
|
|
}
|
|
|
|
.list-item-footer {
|
|
width: 100%;
|
|
bottom: 0;
|
|
position: absolute;
|
|
padding: 10px 0;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.buttons button {
|
|
margin: 10px 5px;
|
|
}
|
|
|
|
.buttons text {
|
|
width: 30px;
|
|
margin: 10px 5px;
|
|
text-align: center;
|
|
line-height: 32px;
|
|
display: inline-block;
|
|
}
|