<div class="range">
<input type="range" min="0" max="100" step="1" value="20">
<input type="text" value="20">
</div>
const range = document.querySelector('.range [type="range"]');
const text = document.querySelector('.range [type="text"]');
range.oninput = () => text.value = range.value;
text.oninput = () => range.value = text.value;
// или
document.querySelector('.range').addEventListener('input', e => {
e.currentTarget.querySelectorAll('input').forEach(n => n.value = e.target.value);
});
// или
const inputs = document.querySelectorAll('.range input');
const onInput = e => inputs.forEach(n => n.value = e.target.value);
inputs.forEach(n => n.addEventListener('input', onInput));
.circle {
width: 74px;
height: 74px;
border-radius: 50%;
border: 1px solid #000;
}
.low-circle {
width: 62px;
height: 62px;
border-radius: 50%;
border: 1px solid red;
margin: 5px;
}
<span class="delete_me">Удалить</span>
и соответствующий селектор $('.delete_me'). $document.on('click', '.delete_me', function(){
doStuff();
})
.arrow {
position: relative;
}
.arrow::before {
content: '';
display: block;
width: 650px;
height: 600px;
background: blue;
}
.arrow::after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 600px;
height: 400px;
background: url(http://cliparting.com/wp-content/uploads/2016/05/Arrow-clipart-arrow-graphics-clipartcow-2.png);
}