Skip to content

Instantly share code, notes, and snippets.

View neil-h's full-sized avatar

Neil Haskins neil-h

  • Kelowna, BC, Canada
View GitHub Profile
@neil-h
neil-h / SassMeister-input.scss
Created August 5, 2014 17:29
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
*[data-toggle="popover"] {
font-style: italic;
font-weight: bold;
cursor: pointer;
@at-root .list-group-item & {
@neil-h
neil-h / _bootstrap-em.scss
Last active November 17, 2017 16:12 — forked from jasny/bootstrap-em.less
A Sass port of jasny/bootstrap-em.less
@function strip-units($number) {// From : http://stackoverflow.com/a/12335841/1339426
@return $number / ($number * 0 + 1);
}
/**
* Use em or rem font-size in Bootstrap 3
* Ported from Less version here: https://gist.github.com/jasny/9731895
*/
$font-size-root: 18px;
$font-unit: 1rem; // Pick em or rem here
/**
* Use em or rem font-size in Bootstrap 3
*/
@font-size-root: 14px;
@font-unit: 0rem; // Pick em or rem here
// Convert all variables to em