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
| /* | |
| White on White | |
| */ | |
| font-size: 30px; | |
| color: #fff; | |
| background-color: #fff; | |
| text-shadow: 1px 1px 1px #000000; | |
| filter: dropshadow(color=#000000, offx=1, offy=1); |
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
| /** rounded corner streteched image with padding on IE8 **/ | |
| img { | |
| height: 100%; | |
| display: block; | |
| float: left; | |
| z-index: -1; | |
| } | |
| .gonzdrinnen { |
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
| /** | |
| * Rounded image | |
| */ | |
| img { | |
| max-width: 400px; | |
| max-height: 300px; | |
| border-radius: 100px; | |
| } |
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
| /** | |
| * Image centering layout | |
| */ | |
| html, body { | |
| margin: 10px; | |
| padding: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
| /** | |
| * Marquee | |
| */ | |
| /* @group Marquee */ | |
| body,html, p { | |
| margin: 0; | |
| padding: 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
| /** | |
| * Absolute positioned stretching div | |
| */ | |
| .parent{ | |
| margin:0; | |
| padding:0; | |
| position: relative; | |
| background-color: red; | |
| min-width: 1px; | |
| min-height:1px; |
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
| /** | |
| * Absolute positioning | |
| */ | |
| div { | |
| margin:0; | |
| padding:0; | |
| border:0; | |
| position: relative; | |
| background-color: red; | |
| min-width: 1px; |
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
| /* | |
| Two columns | |
| */ | |
| html, body, .wrapper { | |
| margin:0; | |
| border:0; | |
| outline: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
| /** | |
| * PowerConsoleLayoutRewrite | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
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
| (function(){ | |
| "use strict"; | |
| var originalHeader = document.getElementById('header-to-replace'); | |
| var originalContent = originalHeader.innerHTML; | |
| var newHeader= document.createElement('header'); | |
| newHeader.id = 'replaced-header' | |
| originalContent = originalContent.replace('{Test}','Lorem Ipsum'); | |
| originalContent = originalContent.replace('{UserButtons}', '<button>Other Stuff</button><button>my Account</button><button>Shop</button>'); | |
| originalContent = originalContent.replace('{nav}','<ul><li><a href="#">Link 1</a></li><li><a href="#">Link 2</a></li></ul>'); | |
| originalContent = originalContent.replace('{searchBox}','searchInput'); |