mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
59 lines
744 B
CSS
59 lines
744 B
CSS
.window .content .btn textview {
|
|
width: 100px;
|
|
}
|
|
.window .content .btn .text {
|
|
height: 60px;
|
|
}
|
|
.window textview {
|
|
position: absolute;
|
|
}
|
|
#test-textview {
|
|
top: 12px;
|
|
}
|
|
.text {
|
|
left: 20px;
|
|
}
|
|
.window .content .btn:hover textview {
|
|
background-color: #f00;
|
|
}
|
|
.window .content .btn:hover .text {
|
|
background-size: contain;
|
|
}
|
|
|
|
#test-flex-auto {
|
|
flex: auto;
|
|
}
|
|
|
|
#test-flex-none {
|
|
flex: none;
|
|
}
|
|
|
|
#test-flex-initial {
|
|
flex: initial;
|
|
}
|
|
|
|
#test-flex-1 {
|
|
flex: 1;
|
|
}
|
|
|
|
#test-flex-100px {
|
|
flex: 100px;
|
|
}
|
|
|
|
#test-flex-1-100px {
|
|
flex: 1 100px;
|
|
}
|
|
|
|
#test-flex-0-0-100px {
|
|
flex: 0 0 100px;
|
|
}
|
|
|
|
#test-flex-box {
|
|
flex: 0 0 auto;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
align-items: flex-end;
|
|
align-content: flex-end;
|
|
}
|