.custom-button { background: white; border-radius: 20px; width: 100%; max-width: 105px; height: 100px; padding: 10px; min-width: 100px; box-shadow: 0px 0px 5px #ccc; margin-bottom: 5px; } .iconBox { display: block; width: 100%; position: static; height: 40px; } .iconBox img { margin: 0px auto 10px !important; display: block; width: 35px; height: 33px; // max-width: 35%; } .titleBox { display: block; } .pClass { font-size: 10px; text-align: center; margin-top: 10px; color: black; font-weight: 600; letter-spacing: .6px; }