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>Un titre avec une bordure inférieure verte (groove).</h2>
<div>Un élément div avec une bordure grise (inset).</div>
<p>Un paragraphe avec une double bordure bleu(double).</p>
</body>
</html>