Created
October 31, 2013 16:37
-
-
Save gunnarbittersmann/7252842 to your computer and use it in GitHub Desktop.
footer centered w/ right-aligned element
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
| /** | |
| * footer centered w/ right-aligned element | |
| */ | |
| footer | |
| { | |
| position: relative; | |
| text-align: center; | |
| padding-right: 5em; | |
| } | |
| footer a | |
| { | |
| position: absolute; | |
| right: 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
| <footer id="footer1"> | |
| <a href="">Impressum</a> | |
| 1. Wort, 2. Wort, 3. Wort | |
| </footer> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment