Skip to content

Instantly share code, notes, and snippets.

@Conrad777
Conrad777 / machine.js
Created January 5, 2022 10:07
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Conrad777
Conrad777 / _overwrite-floats.scss
Last active April 28, 2017 12:40
Twitter Bootstrap grid: Replace floats with inline-block display and add utility classes (.vertical-align-top, .vertical-align-bottom, .vertical-align-middle) for vertical alignment. Import file after Bootstrap imports.
// replace floats with inline-block
%set-inline-block {
float: none;
display: inline-block;
margin: 0 -0.125em;
vertical-align: top;
}
@mixin replaceFloatloop($class) {
@for $i from 1 through 12 {