Skip to content

Instantly share code, notes, and snippets.


Sascha Michael Trinkaus saschamt

View GitHub Profile
saschamt / Atom.markdown
Created Mar 6, 2014
A Pen by Sascha Michael Trinkaus.
View Atom.markdown
saschamt / _pseudoFade.sass
Last active Dec 23, 2015
A simple Sass mixin for linear fade-out overlays. Uses Bourbon's +background-image mixin for the gradients. Replace rows 15, 23, 31, 39 if you want to use your own gradient code or replace with radial gradients for a vignette effect. Uses 'after' as default but can be extended to 'before' with a simple pass to the $pseudo variable. Added optiona…
View _pseudoFade.sass
=pseudoFade($start: bottom, $size: 30px, $color: #000, $edge: 0px, $pseudo: after, $z-index: false)
position: relative
content: ""
display: block
position: absolute
-webkit-touch-callout: none
-webkit-user-select: none
-khtml-user-select: none
-moz-user-select: none
You can’t perform that action at this time.