Skip to content

Instantly share code, notes, and snippets.

Seth Wieder swieder227

View GitHub Profile
claviska / vertically-centered-bootstrap-modals.js
Last active May 15, 2020
Vertically Centered Bootstrap Modals
View vertically-centered-bootstrap-modals.js
* Vertically center Bootstrap 3 modals so they aren't always stuck at the top
$(function() {
function reposition() {
var modal = $(this),
dialog = modal.find('.modal-dialog');
cimmanon / flexbox.scss
Last active Jul 29, 2019 — forked from anonymous/Flexbox mixins
This collection of Sass mixins to cover all 3 flexbox specifications that have been implemented. More information can be found here:
View flexbox.scss
@import "compass/css3/shared";
// NOTE:
// All mixins for the 2009 spec have been written assuming they'll be fed property values that
// correspond to the standard spec. Some mixins can be fed values from the 2009 spec, but don't
// rely on it. The `legacy-order` mixin will increment the value fed to it because the 2009
// `box-ordinal-group` property begins indexing at 1, while the modern `order` property begins
// indexing at 0.
// if `true`, the 2009 properties will be emitted as part of the normal mixin call
You can’t perform that action at this time.