Difference between revisions of "Template:BoxTest/styles.css"
Jump to navigation
Jump to search
Ostentatio (talk | contribs) |
Ostentatio (talk | contribs) |
||
Line 3: | Line 3: | ||
.boxtest { | .boxtest { | ||
display: flex; | display: flex; | ||
− | align-items: | + | align-items: center; |
margin:2px auto; | margin:2px auto; | ||
padding:3px; | padding:3px; | ||
Line 16: | Line 16: | ||
.boximg { | .boximg { | ||
flex-shrink: 1; | flex-shrink: 1; | ||
+ | align-self: stretch; | ||
} | } | ||
Revision as of 23:28, 24 April 2021
/* this is only a test! */ .boxtest { display: flex; align-items: center; 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-shrink: 1; align-self: stretch; } .boxtext { flex-shrink: 2; }