JSFiddle - React, Tailwind, and code Playground
HTML
<span class="click">Кликни меня на iOS! Не получается? Ололо</span>
<span class="click pointer">Кликни меня на iOS! Я — няша с cursor: pointer</span>
CSS
span {
display: block;
margin: 3em;
}
.pointer {
cursor: pointer;
}
JavaScript
$(document).on('click', '.click', function() {
alert('Клик');
});