programming-examples/css/Borders with rounded corners.html

20 lines
689 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE html>
<html>
<head>
<title>borders with rounded corners</title>
<style type="text/css">
body { font: 8pt Verdana; padding: 2px; }
p { padding: 2px; background-color: pink; }
</style>
</head>
<body>
<p style="border: 4px solid; -moz-border-radius: 12px;">
Love is like the sun coming out of the clouds and warming your soul.</p>
<p style="border: 8px outset; -moz-border-radius: 6px;">
One's first love is always perfect until one meets one's second love. Elizabeth Aston</p>
<p style="border: 8px dashed; -moz-border-radius: 10px;">
Fall not in love, therefore; it will stick to your face. National Lampoon, "Deteriorata"</p>
</body>
</html>