Skip to content

Instantly share code, notes, and snippets.

@alwayrun
alwayrun / introrx.md
Created July 31, 2016 14:04 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@alwayrun
alwayrun / angular.md
Created June 8, 2016 01:42 — forked from shuhei/angular.md
Angular Resouces
@alwayrun
alwayrun / ngrxintro.md
Created June 4, 2016 05:33 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

#Comprehensive Introduction to @ngrx/store By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Note: I am in the process of updating for ngrx/store v2. The majority of concepts and functionality still apply, sans middleware.

Table of Contents

@alwayrun
alwayrun / pseudo-elements.md
Created January 20, 2016 06:40 — forked from p3t3r67x0/pseudo_elements.md
A CSS pseudo-element is used to style specified parts of an element. In some cases you can style native HTML controls with vendor specific pseudo-elements. Here you will find an list of cross browser specific pseudo-element selectors.

Styling native elements

Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.

video::webkit-media-controls-timeline {
  background-color: lime;
}

video /deep/ input[type=range] {
@alwayrun
alwayrun / supports3d.js
Created August 31, 2012 01:49 — forked from dryan/supports3d.js
JavaScript function to detect 3D CSS transform support
function supports3d() {
// borrowed from modernizr
var div = document.createElement('div'),
ret = false,
properties = ['perspectiveProperty', 'WebkitPerspective'];
for (var i = properties.length - 1; i >= 0; i--){
ret = ret ? ret : div.style[properties[i]] != undefined;
};
// webkit has 3d transforms disabled for chrome, though