Skip to content

Instantly share code, notes, and snippets.

@rlmattax
rlmattax / gist:1345791
Created November 7, 2011 18:47 — forked from datafatmunger/gist:1345641
Missile command
background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, rgba(255,255,255,0)), color-stop(0.15, rgba(255,255,255,0.55)), color-stop(0.5, rgba(255,255,255,0))), -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #204db5), color-stop(0.1, #0251ae), color-stop(0.9, #6fc1ff), color-stop(1, #569ce1));
-webkit-mask-image: -webkit-gradient(linear, 18 0, 0 10, color-stop(0.23, rgba(0,0,0,0)), color-stop(0.3, rgba(0,0,0,0.8)), color-stop(0.4, rgba(0,0,0,1)), color-stop(0.7, rgba(0,0,0,1)), color-stop(0.7, rgba(0,0,0,0.8)), color-stop(0.77, rgba(0,0,0,0)));
-webkit-mask-repeat: repeat-x;
-webkit-mask-size: 20px 15px;
-webkit-mask-position: 0px;