Skip to content

Instantly share code, notes, and snippets.

View evantravers's full-sized avatar
💭
Fooling around in elixir…

Evan Travers evantravers

💭
Fooling around in elixir…
View GitHub Profile
@mixin placeholder {
&.placeholder { @content }
&:-moz-placeholder { @content }
&::-webkit-input-placeholder { @content }
}
@evantravers
evantravers / SassMeister-input-HTML.html
Created February 6, 2014 16:33
Generated by SassMeister.com. (demonstrating how you *can* use mixins inside of @media blocks, unlike @extends, for @felixjet on #sass)
<div class="foo">foo</div>
// small mixin for styling HTML5 placeholder text
@mixin placeholder {
&.placeholder { @content }
&:-moz-placeholder { @content }
&::-webkit-input-placeholder { @content }
}
@evantravers
evantravers / README.md
Last active August 29, 2015 13:56
This creates a simple workspace in tmux

Workspace in tmux

I like to work using a separate tmux session for each active project/folder that I'm juggling. This script will either create or attach to a project based on it's name, using fasd to jump to the directory directly. The project will be named based on the basename of the folder, for easy switching using TMUX-s.

@evantravers
evantravers / SassMeister-input.scss
Created March 6, 2014 03:36
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
.class {
color: red;
}
%placeholder {
@evantravers
evantravers / SassMeister-input-HTML.haml
Created March 26, 2014 21:52
Generated by SassMeister.com.
<div class="foo">foo</div>
@evantravers
evantravers / SassMeister-input-HTML.haml
Created April 2, 2014 20:43
Generated by SassMeister.com.
%div
@evantravers
evantravers / SassMeister-input-HTML.haml
Created April 3, 2014 12:47
Generated by SassMeister.com.
%main
%ul.navigation
%li Home
%li Contact
%li Dagobah
%li Rails Conf
%li Party City
@evantravers
evantravers / css-hurt-locker.markdown
Last active August 29, 2015 13:58
CSS Hurt Locker Talk

CSS Hurt Locker

http://drnorth.files.wordpress.com/2010/02/the-hurt-locker.jpg

"This box is full of stuff that almost killed me."

Quick Review for fun and profit:

Da Block Model

display