Created
July 30, 2014 04:51
-
-
Save gunnarbittersmann/e779ad79a5a92a511453 to your computer and use it in GitHub Desktop.
Quadratisch, praktisch, gut
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
| /** | |
| * Quadratisch, praktisch, gut | |
| */ | |
| div | |
| { | |
| position: relative; | |
| display: inline-block; | |
| margin: 1em; | |
| width: 30%; | |
| vertical-align: top; | |
| font: 24px Georgia, serif; | |
| } | |
| div::before | |
| { | |
| content: ""; | |
| position: absolute; | |
| width: 100%; | |
| height: 0; | |
| padding-top: 100%; | |
| background: #ace; | |
| z-index: -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
| <div>Der Inhalt soll in einem Quadrat stehen.</div> | |
| <div> | |
| Was aber, wenn es viel Inhalt ist? Soll dann abgeschnitten werden? | |
| Was aber, wenn es viel Inhalt ist? Soll dann abgeschnitten werden? | |
| Was aber, wenn es viel Inhalt ist? Soll dann abgeschnitten werden? | |
| Was aber, wenn es viel Inhalt ist? Soll dann abgeschnitten werden? | |
| </div> |
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
| // alert('Hello world!'); |
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
| {"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment