Created
September 14, 2020 05:46
-
-
Save gddabe/77b8185cb3f7adfb9b80f9a41f580024 to your computer and use it in GitHub Desktop.
html fade header line
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
<div class="fade-line" /> |
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
.fade-line { | |
height: 1px; | |
background-color: #E6E6E6; | |
width: 66.0em; | |
margin: 0 auto; | |
background-image: linear-gradient(left , white 2%, #E6E6E6 50%, white 98%); | |
background-image: -o-linear-gradient(left , white 2%, #E6E6E6 50%, white 98%); | |
background-image: -moz-linear-gradient(left , white 2%, #E6E6E6 50%, white 98%); | |
background-image: -webkit-linear-gradient(left , white 2%, #E6E6E6 50%, white 98%); | |
background-image: -ms-linear-gradient(left , white 2%, #E6E6E6 50%, white 98%); | |
background-image: -webkit-gradient( linear, left bottom, right bottom, color-stop(0.02, white), color-stop(0.5, gray), color-stop(0.98, white) ); | |
-webkit-print-color-adjust: exact; // to allow background appear in printed pdf | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment