Last active
September 10, 2019 04:52
-
-
Save xiuzhong/9c0e05b687d496c6a5680e446bc9caf6 to your computer and use it in GitHub Desktop.
Vertical stripes
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
| /** | |
| * Vertical stripes | |
| */ | |
| table, th, td { | |
| border: 1px solid black; | |
| border-collapse: collapse; | |
| } | |
| .tdb { | |
| padding: 4px; | |
| background-clip: content-box; | |
| } |
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
| <!-- content to be placed inside <body>…</body> --> | |
| <table border=1> | |
| <tr> | |
| <td class="tdb" width=1000px style="background: linear-gradient(to right, #0adb50 0, #d0f4dc 60%, white 60%);"> 40% </td> | |
| <td witdh=100px> 60% </td> | |
| </tr> | |
| <tr> | |
| <td class="tdb" width=1000px> 60% </td> | |
| <td witdh=100px> 40% </td> | |
| </tr> | |
| </table> |
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