This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Unter-Überschriften in Dachzeilen verwandeln | |
*/ | |
header { | |
display: flex; | |
flex-direction:column-reverse; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Vorhang-Effekt (Lösung) | |
*/ | |
/* Container */ | |
#Box { | |
position: relative; | |
background:blue; | |
color: blue; | |
text-align: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Vorhang-Effekt | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var names = [ | |
'ThomasP', | |
'christian', | |
'Bruno', | |
'Sascha', | |
'André', | |
'Robert', | |
'claudius', | |
'gewe', | |
'Carsten', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta charset="utf-8"> | |
<title>Audiospektrum</title> | |
<p> | |
<canvas width="512" height="256" style="border: 1px solid #000" id="Spektrum"></canvas> | |
</p> | |
<p> | |
<audio src="../../audio.mp3" id="Test" controls loop></audio> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Flexbox-Übung | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Lösung Flexbox-Übung | |
*/ | |
/* Flexbox auf dem Wrapper macht schönere Margins */ | |
#wrapper { | |
display: flex; | |
flex-direction: column; | |
max-width: 1024px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Lösung Selektor-Übung | |
*/ | |
/* Wechselnder Hintergrund */ | |
li:nth-child(4n+1) { | |
background: #CCC; | |
} | |
li:nth-child(2n+2) { | |
background: #AAA; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Vorlage Selektor-Übung | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Demo CSS-Pseudoklassen-Typen | |
*/ | |
/* :nth-child OHNE Element */ | |
/*#foo :nth-child(2n+1){ color: red; }*/ | |
/* :nth-child MIT Element */ | |
/*#foo span:nth-child(2n+1){ color: red; }*/ |