Created
September 5, 2019 13:25
-
-
Save wisniewski94/b1e20e173ededfa7de291ca948f16eff to your computer and use it in GitHub Desktop.
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
//https://medium.com/@gajus/my-favorite-css-hack-a7f447026cf2 | |
//"The problem is that unless the element on the page has a solid background or it is a picture, | |
// you do not see how does it fit into the layout, e.g. most of the text nodes, pictures with | |
//transparency, etc." | |
* | |
background-color: rgba(255, 0, 0, 0.2) | |
outline: 1px solid blue | |
* | |
background-color: rgba(0, 255, 0, 0.2) | |
* | |
background-color: rgba(0, 0, 255, 0.2) | |
* | |
background-color: rgba(255, 0, 255, 0.2) | |
* | |
background-color: rgba(0, 255, 255, 0.2) | |
* | |
background-color: rgba(255, 255, 0, 0.2) | |
* | |
background-color: rgba(255, 0, 0, 0.2) | |
* | |
background-color: rgba(0, 255, 0, 0.2) | |
* | |
background-color: rgba(0, 0, 255, 0.2) | |
* | |
background-color: rgba(0, 10, 255, 0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment