Skip to content

Instantly share code, notes, and snippets.

View dani-z's full-sized avatar
:octocat:

Daniel Zaremba dani-z

:octocat:
View GitHub Profile
// names and colors from http://flatuicolors.com/
$turquoise: #1ABC9C;
$green-sea: #16A085;
$emerland: #2ECC71;
$nephritis: #27AE60;
$peter-river: #3498DB;
$belize-hole: #2980B9;
$amethyst: #9B59B6;
$wisteria: #8E44AD;

SMACSS + Sass + BEM

SMACSS

Scalable and
Modular
Architecture for
C
S
S

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>&lt;picture&gt; with different fallbacks</title>
</head>
<body>
<h1>&lt;picture&gt; with different fallbacks</h1>
<p>Don't forget to check which resources are loaded, regardless of what is displayed.</p>
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@dani-z
dani-z / dabblet.css
Created December 26, 2012 21:28 — forked from anonymous/dabblet.css
Simple button [CSS]
/* Simple button [CSS] */
html,body {
min-height: 100%;
height: 100%;
overflow: hidden;
}
/* Fancy noise */
html:after {