Created
February 9, 2021 12:02
-
-
Save jzwang-dev/88966b5439f7574697045e572e2570fc to your computer and use it in GitHub Desktop.
linear gradient diagonal
This file contains 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
table.diagonal th.top-left { | |
background: linear-gradient(to top right, /*漸層色的方向,應與要繪製的對角線相交*/ | |
#f3f3f3 49.5%, /*表頭的背景顏色*/ | |
#cccccc 49.5%, #cccccc 50.5%, /*對角線的線段顏色*/ | |
#f3f3f3 50.5%); /*表頭的背景顏色*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment