Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Fooling around in elixir…

Evan Travers evantravers

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

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 Mar 6, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
.class {
color: red;
}
%placeholder {
View talk.markdown
@evantravers
evantravers / SassMeister-input-HTML.haml
Created Mar 26, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.haml
<div class="foo">foo</div>
View SassMeister-input-HTML.haml
.container
.hero-image
%img(src="http://images.junkee.com/wp-content/uploads/2013/12/shia-labeouf-magic-gif.gif")
%h1 magic
View SassMeister-input-HTML.haml
%main
%ul.navigation
%li Home
%li Contact
%li Dagobah
%li Rails Conf
%li Party City
View css-hurt-locker.markdown

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