code: function(decl) {
        var origRule = decl.parent,
          ruleSelectors = origRule.selectors,
          afterRuleSelectors,
          imgRuleSelectors,
          inkwellRule;
  
          imgRuleSelectors = ruleSelectors.map(function(ruleSelector){
                return ruleSelector + ' img';
          }).join(',\n');
  
        inkwellRule = origRule.cloneBefore({
          selector: imgRuleSelectors
        }).removeAll();
  
        origRule.append('position:relative;display:inline-block');
  
        inkwellRule.append('filter:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" color-interpolation-filters="sRGB" values="0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0" /><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="1.2" /><feFuncG type="linear" slope="1.2" /><feFuncB type="linear" slope="1.2" /></feComponentTransfer><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="1.05" intercept="-0.025000000000000022" /><feFuncG type="linear" slope="1.05" intercept="-0.025000000000000022" /><feFuncB type="linear" slope="1.05" intercept="-0.025000000000000022" /></feComponentTransfer></filter></svg>#filter\'); -webkit-filter:grayscale(1) brightness(1.2) contrast(1.05); filter:grayscale(1) brightness(1.2) contrast(1.05);');
  
          decl.remove();
          }
docs: Filter: Inkwell