Difference between revisions of "Template:BoxTest/styles.css"

From Wurmpedia
Jump to navigation Jump to search
Line 16: Line 16:
 
.boximg {
 
.boximg {
 
align-self: stretch;
 
align-self: stretch;
flex: 0 auto;
+
flex: 0 1 auto;
 
}
 
}
  
 
.boxtext {
 
.boxtext {
flex: 0 auto;
+
flex: 0 2 auto;
 
}
 
}

Revision as of 15:39, 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 {
align-self: stretch;
flex: 0 1 auto;
}

.boxtext {
flex: 0 2 auto;
}