Skip to content

Instantly share code, notes, and snippets.

View briansage's full-sized avatar

Brian Sage (he/him) briansage

View GitHub Profile
@briansage
briansage / keybase.md
Created October 4, 2018 17:58
Keybase verification

Keybase proof

I hereby claim:

  • I am briansage on github.
  • I am briansage (https://keybase.io/briansage) on keybase.
  • I have a public key ASAjCnLfp8vuN1e4VoW0zWnZDJ7jZoEFtiVgNYl_UDXswAo

To claim this, I am signing this object:

@briansage
briansage / CSS for Optimizely
Last active December 22, 2015 20:49
Pattern for B/A tests that show/hide two sets of existing content. Switch the body className bv-inactive to bv-active to switch between test versions.
%body.bv-inactive
.test-container-a.bv-active-hidden
.stuff
.test-container-b.bv-inactive-hidden
.different-stuff
.test-container-a.bv-active-hidden
.more-different-stuff