06.06.2015, 09:55
Guten Morgen koter
Ein hover-Effekt geht, wenn man "button" statt "input" nimmt:
Hier anschauen
Ein hover-Effekt geht, wenn man "button" statt "input" nimmt:
Code:
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<title>Button button:hover</title>
<style>
button {
background-color: blue;
color: #fff;
font-family: sans-serif;
font-size: 20px;
height: 60px;
width: 150px;
line-height: 60px;
margin: 25px 25px;
text-align: center;
border: 1px solid black;
}
button:hover {background-color:green;}
</style>
</head>
<body>
<p>Ich bin die Seite 1</p>
<form action="/jwf/button2.php" method="post">
<button type="submit">senden</button>
</form>
</body>
</html>
Hier anschauen
