pjs/layout/reftests/abs-pos/button-2.html

34 строки
412 B
HTML
Исходник Обычный вид История

2011-10-07 17:37:03 +04:00
<!doctype html>
<html>
<head>
<style>
button {
position:relative;
padding:0;
background:green;
width: 200px;
height: 100px;
border:none;
text-align: left;
font: 12px serif;
-moz-appearance: none;
-moz-border-radius: 0 !important;
2011-10-07 17:37:03 +04:00
}
button span {
display:block;
position:absolute;
right:0;
top:0;
width:10px;
height:100%;
background:red;
}
</style>
</head>
<body>
<button>
<span></span>
</button>
</body>
</html>