Metal Guard

Showing 10–10 of 10 results

$("input.slider").on("input change", function(event) { var element = $(this).parents("div.container"); var pos = event.target.value; element.find("div.before").css({width: pos + "%"}); element.find("div.slider-button").css({left: "calc(" + pos + "% - 18px)"}); });