Skip to content

Instantly share code, notes, and snippets.

View meodai's full-sized avatar
🐙
Probably coloring things

David Aerne meodai

🐙
Probably coloring things
View GitHub Profile
@meodai
meodai / SassMeister-input-HTML.html
Created July 23, 2014 08:32
Generated by SassMeister.com.
<table>
<thead>
<tr>
<th></th>
<th class="mobile">Mobile</th>
<th class="tablet">Tablet</th>
<th class="desktop">Desktop</th>
</tr>
</thead>
@meodai
meodai / SassMeister-input-HTML.html
Created July 23, 2014 10:17
Generated by SassMeister.com.
<table>
<thead>
<tr>
<th></th>
<th class="mobile">Mobile</th>
<th class="tablet">Tablet</th>
<th class="desktop">Desktop</th>
</tr>
</thead>
<tbody>
@meodai
meodai / SassMeister-input-HTML.html
Created November 5, 2014 13:35
Generated by SassMeister.com.
<h1>We Simplify</h1>
@meodai
meodai / apatschi
Last active August 29, 2015 14:09
Starts a HTTP server on the current directory and opens it in the browser
#creates a HTTP server and opens in my favorite browser
apatschi () {
open -a "Google Chrome" "http://localhost:8000"
python -m SimpleHTTPServer
#for pihatschpi stuff, comment python and un comment this one:
#php -S localhost:8000
}
@meodai
meodai / SassMeister-input.scss
Last active August 29, 2015 14:18
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
@function strip-unit($value) {
@return $value / ($value * 0 + 1);
}
@function px2rel($px, $baseSize: 16px, $unit: rem) {
@return ( $px / $baseSize ) * 1#{$unit};
@meodai
meodai / SassMeister-input-HTML.html
Last active August 29, 2015 14:18
Generated by SassMeister.com.
<div></div>
@meodai
meodai / SassMeister-input-HTML.html
Last active August 29, 2015 14:18
Generated by SassMeister.com.
<div></div>
@meodai
meodai / SassMeister-input-HTML.html
Created April 1, 2015 12:37
Generated by SassMeister.com.
<div></div>
@meodai
meodai / SassMeister-input-HTML.jade
Last active August 29, 2015 14:19
Generated by SassMeister.com.
h1
.icon.icon--16
|some text next to the icon
h1
.icon.icon--16
|Larger text
h3
.icon.icon--16
@meodai
meodai / SassMeister-input.scss
Created May 26, 2015 20:42
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
$s-font-base: 16px;
/**
* px2rel turns px values in to REM's base on the base font size
* @param {[number]} $px Wished font size