Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<style>
h2 {
border-bottom-style: groove;
border-bottom-color: #8ebf42;
border-bottom-width: 5px;
}
div {
border-style: inset;
border-bottom-color: #ccc;
border-bottom-width: 8px;
}
p {
border-style: double;
border-bottom-color: #1c87c9;
border-bottom-width: 8px;
}
</style>
</head>
<body>
<h2>Eine Überschrift mit einem grünen unteren Rand.</h2>
<div>Ein Element div mit einem eingefügten grauen unteren Rand.</div>
<p>Ein Absatz mit einem doppelten blauen Rand.</p>
</body>
</html>