Skip to content

Instantly share code, notes, and snippets.

@paceaux
Created July 14, 2014 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paceaux/95f66761ec1286ca4ee0 to your computer and use it in GitHub Desktop.
Save paceaux/95f66761ec1286ca4ee0 to your computer and use it in GitHub Desktop.
Golden Ratio Stylus Mixin
//======Golden Ratio Mixin
golden()
if @width
height: @width * .618
else
if @height
width: @height * .618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment