As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
# Put this in your ~/.gitconfig or ~/.config/git/config | |
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName> | |
[user] | |
name = Your Full Name | |
email = [email protected] | |
[color] | |
# Enable colors in color-supporting terminals | |
ui = auto | |
[alias] | |
# List available aliases |
Consolidated lists of CSS properties that are inherited by default. | |
Taken from http://www.w3.org/TR/CSS21/propidx.html | |
-------------------------------------------------------------------- | |
One item not in the list was "text-decoration" which affects child elements. A few new properties (text-shadow) also affect child elements | |
List | |
azimuth | |
border-collapse |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Table Display test</title> | |
<style> | |
@media screen and (min-width: 30em) { | |
body { | |
display: table; | |
caption-side: top; | |
} |
http://jsfiddle.net/GuQaV/show/ |
var tabbableElements = 'a[href], area[href], input:not([disabled]),' + | |
'select:not([disabled]), textarea:not([disabled]),' + | |
'button:not([disabled]), iframe, object, embed, *[tabindex],' + | |
'*[contenteditable]'; | |
var keepFocus = function (context) { | |
var allTabbableElements = context.querySelectorAll(tabbableElements); | |
var firstTabbableElement = allTabbableElements[0]; | |
var lastTabbableElement = allTabbableElements[allTabbableElements.length - 1]; |
@mixin heydon_rules { | |
// Adapted from http://coding.smashingmagazine.com/2013/08/20/semantic-css-with-intelligent-selectors/ | |
// I removed the Comic Sans font declaration because, well, I really can't stand it, even in this context | |
%uglystyle { | |
display: block !important; | |
background: pink !important; | |
padding: 0.5em !important; | |
color: #000 !important; |
/** @subsection EM calculator */ | |
/** cf. https://gist.github.com/ijy/1441967 */ | |
@function em($target, $context: $base-font-size) | |
{ | |
@if $target == 0 { @return 0 } | |
@return 1em * $target / $context; | |
} | |
/** |
/** @subsection EM calculator */ | |
/** cf. https://gist.github.com/ijy/1441967 */ | |
@function em($target, $context: $base-font-size) | |
{ | |
@if $target == 0 { @return 0 } | |
@return 1em * $target / $context; | |
} | |
/** |
/** | |
* @subsection Get Sprites position in EM | |
* @author Marie Guillaumet | |
*/ | |
@mixin em-sprite-position($map, $sprite, $context: $fs, $offset-x: 0, $offset-y: 0) | |
{ | |
/** Thank you @pioupiouM! */ | |
$position: sprite-position($map, $sprite, $offset-x, $offset-x); | |
$x: nth($position, 1); |