.father{ width: 293px;height: 195px; background: rgba(16,16,16,.4); text-align: center; padding: 72px 5px; font-size: 18px; color: #fff; font-weight: 300; transition: bottom .4s; box-sizing: border-box; display: table; } .father span{ vertical-align: middle; display: table-cell; } .father{
flex-direction:row; justify-content:center; align-items:center; }
|
|