Created
March 27, 2014 09:50
-
-
Save hakimel/9804003 to your computer and use it in GitHub Desktop.
Semi-transparent background for headers
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
// This is semi-transparent black | |
h1, h2, h3 { | |
background: rgba( 0, 0, 0, 0.4 ); | |
padding: 0.1em; | |
} | |
// This is semi-transparent white | |
h1, h2, h3 { | |
background: rgba( 255, 255, 255, 0.4 ); | |
padding: 0.1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment