Initial commit
This commit is contained in:
16
HTML/html-kurs/Basics/kombinatoren/kombinatoren.css
Normal file
16
HTML/html-kurs/Basics/kombinatoren/kombinatoren.css
Normal file
@@ -0,0 +1,16 @@
|
||||
b ~ span > b {
|
||||
color: red;
|
||||
}
|
||||
|
||||
p span.warnung {
|
||||
background-color: pink;
|
||||
}
|
||||
|
||||
.warnung ~ b {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
html head ~ body > p > b ~ #wichtig {
|
||||
font-size: 100px;
|
||||
color: green;
|
||||
}
|
||||
21
HTML/html-kurs/Basics/kombinatoren/kombinatoren.html
Normal file
21
HTML/html-kurs/Basics/kombinatoren/kombinatoren.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Kombinatoren</title>
|
||||
<link rel="stylesheet" type="text/css" href="kombinatoren.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
<span class="warnung">Dies ist Text in einer Span mit einer Klasse!</span>
|
||||
<b>Dies ist Text der fett gedruckt ist!</b>
|
||||
<u id="wichtig">Dierser Text ist unterstrichen!</u>
|
||||
<span>
|
||||
Dies ist Text in einer Span!
|
||||
<b>Dies ist Text der fett gedruckt ist!</b>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user