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
| .youtube-container iframe { | |
| width: 100vw; | |
| height: calc(100vw * 0.5625); | |
| border: 0; | |
| } |
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
| <!-- Embed Google Font: Poppins --> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap" rel="stylesheet"> |
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
| // START define functions (no execute) | |
| // toogle (add & remove) class expanded from element with id=main-nav (header) | |
| function toggleMainNav() { | |
| let element = document.getElementById('main-nav'); | |
| element.classList.toggle('expanded') | |
| } | |
| // add/remove toggleMainNav to/from a-Tag with class link depending on window-width | |
| function addtoggleMainNav(){ |
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 parent = $(".swiper-wrapper"); | |
| var divs = parent.children(); | |
| while (divs.length) { | |
| parent.append(divs.splice(Math.floor(Math.random() * divs.length), 1)[0]); | |
| } |
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
| /* Firefox 3d transform bugfix */ | |
| @-moz-document url-prefix() { | |
| .swiper-3d .swiper-wrapper { | |
| transform-style: unset; | |
| } | |
| } |
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> | |
| <html lang="de"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Schleifen</title> | |
| <style> | |
| table, th, td { | |
| border: 1px solid black; | |
| } | |
| </style> |
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> | |
| <html lang="de"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Arrays</title> | |
| </head> | |
| <body> | |
| <h1>Einkaufsliste</h1> |
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
| <?php | |
| // Diese Daten kommen in Zukunft dann aus einer Datenbank | |
| $people = array( | |
| array( | |
| 'prename' => 'Reto', | |
| 'lastname' => 'Schild', | |
| 'picture' => 'reto.jpg', | |
| ), |
OlderNewer