programming-examples/css/Button margin padding width color.html

28 lines
785 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Button margin padding width color</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">
.button {
background: url(background.jpg) repeat-x bottom left #f9ccf8;
border-bottom: 2px solid #ff0066;
border-left: 4px solid #239ff6;
border-right: 1px solid #798ff1;
border-top: 1px solid #7788ff;
color: #9ff633;
font-weight: 20px;
margin: 0 0 12px;
padding: 8px 8px 8px 15px;
width: 400px;
}
</style>
</head>
<body>
<button class='button'>css button sample</button>
</body>
</html>