Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="author" content="Maik">
<title>tutorials.de | demo_TraphiX</title>
<style type="text/css">
div.parentBox {
padding:10px;
background:#fbfbfb;
color:#555;
}
/* Nachfahren-Selektor */
div.parentBox div#descendantBox {
padding:10px;
background:#eee;
color:#2f2f2f;
}
div.parentBox:hover div#descendantBox {
background:#234069;
color:#fff;
}
/* Kind-Selektor */
div.parentBox > div#childBox {
padding:10px;
background:#eee;
color:#2f2f2f;
}
div.parentBox:hover > div#childBox {
background:#234069;
color:#fff;
}
/* Nachbar-Selektor */
div#adjacentBox_1{
float:left;
padding:10px;
background:#f5f5f5;
color:#555;
}
div#adjacentBox_2 {
float:left;
margin-left:5px;
padding:10px;
background:#eee;
color:#2f2f2f;
}
div#adjacentBox_1:hover + div#adjacentBox_2 {
background:#234069;
color:#fff;
}
/* Allg. CSS-Einstellungen */
li {
margin-top:20px;
font-weight:bold;
}
div {
margin-top:10px;
border:1px solid #cfcfcf;
font-weight:normal;
}
</style>
</head>
<body>
<ul>
<li>Nachfahren-Selektor:
<div class="parentBox">
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<div id="descendantBox">descendantBox</div>
</div>
</li>
<li>Kind-Selektor:
<div class="parentBox">
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<p>some dummy text to expand the parentBox</p>
<div id="childBox">childBox</div>
</div>
</li>
<li>Nachbar-Selektor:
<div id="adjacentBox_1">
<p>some dummy text to expand the adjacentBox_1</p>
<p>some dummy text to expand the adjacentBox_1</p>
<p>some dummy text to expand the adjacentBox_1</p>
</div>
<div id="adjacentBox_2">
<p>some dummy text to expand the adjacentBox_2</p>
<p>some dummy text to expand the adjacentBox_2</p>
<p>some dummy text to expand the adjacentBox_2</p>
</div>
</li>
</ul>
</body>
</html>