.custom-button { background: #FCFCFC 0% 0% no-repeat padding-box; margin-bottom: 5px; box-shadow: 2px 2px 6px #00000029; width: 100%; max-width: 105px; height: 100px; padding: 10px; min-width: 96px; border: 1px solid #D0D4D6; border-radius: 25px; } .iconBox { display: block; width: 100%; position: static; text-align: center; } .iconBox img { margin: 0px auto 10px; display: inline-block; width: 35px; // max-width: 35%; } .titleBox { display: block; } .pClass { font-size: 9px; text-align: center; margin-top: 10px; color: black; font-weight: bold; }