Skip to content

Instantly share code, notes, and snippets.

@cimmanon
Created January 8, 2015 00:30
Show Gist options
  • Save cimmanon/34fb18b7115d379e4cac to your computer and use it in GitHub Desktop.
Save cimmanon/34fb18b7115d379e4cac to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$position: 'beforeend';
$classname: 'pseudo-before';
.test
{
$element: '<div class="#{$classname}"></div>';
zoom: unquote('expression(this.runtimeStyle.zoom="1", this.insertAdjacentHTML("#{$position}", \'#{$element}\')');
}
.test {
zoom: expression(this.runtimeStyle.zoom="1", this.insertAdjacentHTML("beforeend", '<div class="pseudo-before"></div>');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment