Skip to content

Instantly share code, notes, and snippets.

Sascha Michael Trinkaus saschamt

Block or report user

Report or block saschamt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saschamt
saschamt / Atom.markdown
Created Mar 6, 2014
A Pen by Sascha Michael Trinkaus.
View Atom.markdown
@saschamt
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
&:#{$pseudo}
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.