模板:Imm/test.css
来自RIA | Wiki
更多操作
.leftbox {
display: block;
border: solid black 1px;
margin-bottom: 20px;
float: left;
width: calc(100% - 370px);
min-width: 350px;
margin-left: auto;
}
.leftbox-header {
display: block;
background-color: #ffd3c7;
color: #ffffff;
}
.leftbox-body {
margin: 0;
padding: 1em;
display: block;
}
.leftbox-body-text {
display: flex;
align-items: center;
}
.leftbox-header h2 {
text-align: left;
margin: 0;
padding: 0.3em;
display: block;
}
.rightbox {
display: block;
border: solid black 1px;
margin-bottom: 20px;
max-width: 350px;
float: right;
min-width: 350px;
flex-flow: wrap ;
flex-direction: row;
}
.rightbox-header {
display: block;
background-color: #ffd3c7;
color: #ffffff;
}
.rightbox-body {
margin: 0;
padding: 1em;
display: block;
}
.rightbox-body-text {
display: flex;
align-items: center;
}
.rightbox-header h2 {
text-align: center;
margin: 0;
padding: 0.3em;
display: block;
}