Difference between revisions of "Template:BoxTest/styles.css"
Jump to navigation
Jump to search
Ostentatio (talk | contribs) (Ostentatio created the page Template:BoxTest/styles.css using a non-default content model "Sanitized CSS") |
Ostentatio (talk | contribs) |
||
| (47 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | /* this is only a test! */ | ||
| + | .boxtest { | ||
| + | display: flex; | ||
| + | align-items: stretch; | ||
| + | margin:2px auto; | ||
| + | padding:3px; | ||
| + | width:60%; | ||
| + | border:2px solid black; | ||
| + | text-align:left; | ||
| + | border-radius: 10px; | ||
| + | border-collapse:separate; | ||
| + | box-shadow:2px 2px 5px rgba(0,0,0,0.45); | ||
| + | } | ||
| + | |||
| + | .boximg { | ||
| + | flex: 0 0 auto; | ||
| + | } | ||
| + | |||
| + | .boxtext { | ||
| + | flex: 0 2 auto; | ||
| + | } | ||
Latest revision as of 23:39, 24 April 2021
/* this is only a test! */
.boxtest {
display: flex;
align-items: stretch;
margin:2px auto;
padding:3px;
width:60%;
border:2px solid black;
text-align:left;
border-radius: 10px;
border-collapse:separate;
box-shadow:2px 2px 5px rgba(0,0,0,0.45);
}
.boximg {
flex: 0 0 auto;
}
.boxtext {
flex: 0 2 auto;
}