disable click on element css code example
Example 1: disable click css
.avoid-clicks {
pointer-events: none;
}
Example 2: css disable button click
button.disabled{
pointer-events: none;
}
.avoid-clicks {
pointer-events: none;
}
button.disabled{
pointer-events: none;
}