Home > Back-end >  CSS adjust button size
CSS adjust button size

Time:10-11

.-m-refresh-btn {
background-image: url(../../content/icon/refresh.png);
background-repeat: no-repeat;
background-position: center;
background-color: #fff;
width: 40px <--------------

}

.-m-second-button {
border: 1px solid #BBBBBB;
border-radius: 4px;
height: 40px;
color: #000000;
padding: 0 24px;
text-align: center;
cursor: pointer;
outline: none;

i can't change width button with element width . what's element change width button . Thanks all

CodePudding user response:

You need to add a display property. Depends what elements you're trying to apply the styles to.

  • Related