Search
 
SCRIPT & CODE EXAMPLE
 

CSS

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;
}
Comment

button with background image and text html css

<button type=submit style="background: #ccc url(test.jpg); padding: 0.5em 1em">Go!</button>
Comment

PREVIOUS NEXT
Code Example
Css :: css hide timeline 
Css :: css stretch font vertically 
Css :: add font css 
Css :: remove hover css on a text 
Css :: laravel css image url 
Css :: change scrollbar color 
Css :: break word css 
Css :: center text horizontally and vertically inside a div in css 
Css :: Adding gradient to text color 
Css :: css3, media queries cheatSheet 
Css :: vscode set terminal letter spacing 
Css :: ul list style type image 
Css :: how to horizontally center in css 
Css :: To make card box appear more bigger when hover 
Css :: half border bottom 
Css :: how to add text stroke in css 
Css :: opacity color 
Css :: how to place a table in center in css 
Css :: scroll start from bottom css 
Css :: safari overflow-y scroll not working 
Css :: Define Or Attach Font Face In HTML CSS Web Page 
Css :: compass font awesome 
Css :: h2 custom font family html css 
Css :: change element in iframe 
Css :: how to wrap text in css 
Css :: text gradient in css 
Css :: Media Query smartphone only 
Css :: css text shadow -m 
Css :: mettre image in the background 
Css :: focus selector css 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =