2016-12-16 3 views
-1

Ich habe versucht, eine Klasse zu geben und kleine Dinge zu ändern (wie Schriftart oder Hintergrund), aber es reagiert nicht.Wie stylen Sie einen type = "file" oder type = "submit" Button?

+0

Etwas wie das? http://jsfiddle.net/zacharydl/4QezZ/ –

+0

Dasselbe Ding http://stackoverflow.com/questions/17236018/how-to-style-submit-button – Benneb10

+0

Mögliches Duplikat von [Styling von "Senden" -Buttons] (http : //stackoverflow.com/questions/14104120/styling-of-submit-buttons) –

Antwort

1
<style> 
.button { 
    background-color: #4CAF50; 
    border: none; 
    color: white; 
    padding: 15px 32px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 16px; 
    margin: 4px 2px; 
    cursor: pointer; 
} 
</style> 

<input type="button" class="button" value=" Button"> 
Verwandte Themen