Last active
November 15, 2017 17:44
-
-
Save hisaac/7a4968d7e7b943adce49ee6962fd359c to your computer and use it in GitHub Desktop.
A simple library of CSS snippets that I like to use on my projects
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
/** | |
"hisaa.css" by Isaac Halvorson | |
A simple library of CSS snippets that I like to use on my projects. | |
*/ | |
/*********************************** Reset ***********************************/ | |
/******************************* Accessibility *******************************/ | |
/** | |
Highlight images missing the `alt` attribute | |
source: A tweet by Matt Smith https://twitter.com/AllThingsSmitty/status/930617039085035520 | |
*/ | |
img[alt=""], | |
img:not([alt]) { | |
border: 5px dashed #c00; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment