Beispiel:CSS2 border-style.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html> 
<head> 
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
  <title>border-style</title>
  <style>
.gepunktet {border-style: dotted;}
.gestrichelt {border-style: dashed;}
.durchgezogen  {border-style: solid;}
.doppelt {border-style: double;}
.gerillt {border-style: groove;}
.kammförmig  {border-style: ridge;}
.inset  {border-style: inset;}
.outset {border-style: outset;}

p {
	margin: 1em;
	padding: 1em;
	width: 14em;
	border-width: 1em;
	border-color: red;
	display:inline-block;
}
</style> 
</head>

<body>
  <h1>border-style</h1>
    <p class="gepunktet">Textabsatz mit Rahmentyp dotted.</p>
    <p class="gestrichelt">Textabsatz mit Rahmentyp dashed.</p>
    <p class="durchgezogen">Textabsatz mit Rahmentyp solid.</p>
    <p class="doppelt">Textabsatz mit Rahmentyp double.</p>
    <p class="gerillt">Textabsatz mit Rahmentyp groove.</p>
    <p class="kammförmig">Textabsatz mit Rahmentyp ridge.</p>
    <p class="inset">Textabsatz mit Rahmentyp inset.</p>
    <p class="outset">Textabsatz mit Rahmentyp outset.</p>
  
</body>
</html>