Usuario:Bitomic/Sitio de pruebas
Ir a la navegación
Ir a la búsqueda
.troopbox {
background: linear-gradient( to bottom, #8ac1e0, #4794be );
border: 2px solid #416f91;
border-radius: 5px;
box-shadow: 2px 2px 5px #4f7089;
display: inline-flex;
flex-direction: column;
height: 102px;
position: relative;
width: 102px;
}
.troopbox-cost {
align-items: center;
background: rgba( 0, 0, 0, 0.4 );
bottom: 2px;
color: #fff;
display: flex;
font-family: Clash;
font-size: 0.9em;
justify-content: center;
left: 0;
padding: 0 0.5em;
position: absolute;
right: 0;
text-align: center;
-webkit-text-stroke: 1px black;
}
.troopbox-cost-value {
flex-grow: 1;
}