Last active
November 26, 2022 09:08
-
-
Save csssecrets/9483cc7012049f2c808e to your computer and use it in GitHub Desktop.
Footnote-style border
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
| /** | |
| * Footnote-style border | |
| */ | |
| .footnote { | |
| border-top: .15em solid transparent; | |
| border-image: 100% 0 0 linear-gradient(90deg, currentColor 4em, transparent 0); | |
| padding-top: .5em; | |
| font: 220%/1.4 Baskerville, Palatino, serif; | |
| } |
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 class="footnote"><sup>1</sup> This is a footnote.</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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment