1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
| <!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
input[type=button] {
display: inline-block;
margin: 0;
border: 4px solid white;
color: white;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
font-family: 'Roboto Condensed', sans-serif;
font-size: inherit;
-webkit-transition-property: background-color, color, border-color;
-webkit-transition-duration: 0.1s, 0.1s, 0.1s;
-webkit-transition-timing-function: linear, linear, linear;
-moz-transition-property: background-color, color, border-color;
-moz-transition-duration: 0.1s, 0.1s, 0.1s;
-moz-transition-timing-function: linear, linear, linear;
transition-property: background-color, color, border-color;
transition-duration: 0.1s, 0.1s, 0.1s;
transition-timing-function: linear, linear, linear;
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5), 0px 1px 1px 0px rgba(255, 255, 255, 0.5) inset;
-moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5), 0px 1px 1px 0px rgba(255, 255, 255, 0.5) inset;
-webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5), 0px 1px 1px 0px rgba(255, 255, 255, 0.5) inset;
-o-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5), 0px 1px 1px 0px rgba(255, 255, 255, 0.5) inset;
}
input[type=button]:hover {
cursor: pointer;
-webkit-transition-property: background-color, color, border-color;
-webkit-transition-duration: 0.1s, 0.1s, 0.1s;
-webkit-transition-timing-function: linear, linear, linear;
-moz-transition-property: background-color, color, border-color;
-moz-transition-duration: 0.1s, 0.1s, 0.1s;
-moz-transition-timing-function: linear, linear, linear;
transition-property: background-color, color, border-color;
transition-duration: 0.1s, 0.1s, 0.1s;
transition-timing-function: linear, linear, linear;
}
#bouton1{
position:absolute;
left:775px;top:120px;width:200px;height:41px;
background-color: red;
}
#bouton1:hover {
background-color: blue;
}
#bouton2 {
position:absolute;
left:775px;top:200px;width:200px;height:41px;
background-color: orange;
}
#bouton2:hover {
background-color: green;
}
</style>
</head>
<body>
<div class="MON-MENU">
<input type='button' id='bouton1' value='bouton1' />
<input type='button' id='bouton2' value='bouton2'/>
</div>
</body>
</html> |
Partager