LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
div {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}
JS
$('input').change(function() {
  var c = this.value;
  var img = $('img').get(0);
  GradientMaps.applyGradientMap(img, 'rgba(0, 0, 0, 0) ' + c);
  
});

Description

Using gradientmaps.js library to really easily let you pick your shirt color. Gradient maps for HTML using SVG filters. Who would have thought?
Term
Wed, 11/29/2017 - 13:48

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv