Answers for "how to add background image to a button in css"

CSS
125

css background image

background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Posted by: Guest on April-07-2020
0

how to set background image for button in css

div#submitForm input {
  background: url("../images/buttonbg.png") no-repeat scroll 0 0 transparent;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  height: 20px;
  padding-bottom: 2px;
  width: 75px;
}
Posted by: Guest on November-18-2020
7

css background image

background-image: url("image.gif");
Posted by: Guest on April-01-2020
0

button with background image and text html css

<button type=submit style="background: #ccc url(test.jpg); padding: 0.5em 1em">Go!</button>
Posted by: Guest on May-26-2021

Code answers related to "how to add background image to a button in css"

Browse Popular Code Answers by Language