Skip to content

Instantly share code, notes, and snippets.

Martin Wawrusch mwawrusch

Block or report user

Report or block mwawrusch

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
@mwawrusch
mwawrusch / mixin.sass
Created Nov 25, 2011 — forked from pksunkara/mixin.sass
Some mixins for SASS
View mixin.sass
$useIEFilters: 1
// might be 0 or 1. disabled by default.
=border-radius($values)
-moz-border-radius: $values
-webkit-border-radius: $values
border-radius: $values
=border-bottom-left-radius($values)
@mwawrusch
mwawrusch / gist:1379839
Created Nov 20, 2011 — forked from showell/gist:1379677
refactoring help
View gist:1379839
$ ->
togglee = (elem) ->
$($(elem).data("toggle"))
toggle = (elem) ->
icon = $(elem).find("span.icon")
isVisible = togglee(elem).is(":visible")
icon.toggleClass 'downarrow',isVisible
icon.toggleClass 'uparrow',!isVisible
You can’t perform that action at this time.