SELF-Treffen in Mannheim 2025
SELFHTML wird 30 Jahre alt!
Die Mitgliederversammlung findet am 24.05.2025 um 10:00 statt. Alle Mitglieder und Interessierte sind herzlich eingeladen.
Davor und danach gibt es Gelegenheiten zum gemütlichen Beisammensein. → Veranstaltungs-Ankündigung.
Beispiel:CSS2 overflow.html
Aus SELFHTML-Wiki
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
<title>overflow</title>
<style>
#eins { overflow: visible; }
#zwei { overflow: scroll hidden; }
#drei { overflow: hidden; }
.box {
color: #c32e04;
font-family: Arial, Helvetica, sans-serif;
font-size: 3em;
font-weight: bold;
border: medium solid black;
padding: 3px;
width: 150px;
}
body{
display: grid;
grid-template-columns: repeat(auto-fill, 16em);
}
h1 {
grid-column: 1 / -1;
}
</style>
</head>
<body>
<h1>Übergroßen Inhalt mit <code>overflow</code> regeln </h1>
<figure>
<p class="box" id="eins" lang="en">
CSS is awesome!
</p>
<figcaption>overflow: visible;</figcaption>
</figure>
<figure>
<p class="box" id="zwei" lang="en">
CSS is awesome!
</p>
<figcaption>overflow: scroll;</figcaption>
</figure>
<figure>
<p class="box" id="drei" lang="en">
CSS is awesome!
</p>
<figcaption>overflow: hidden;</figcaption>
</figure>
</body>
</html>