I know I can change the cursor with one click with the following CSS code:
#slide-arrow-prev:active {
cursor: not-allowed;
}
Is there anyway to change a cursor after two clicks using only html and css? I'm curious if I can do it without using javascript. If so, how please. Thank you
If you are determined to not use JS, you can achieve this by having a child as a focusable element inside the parent and disabling it's
pointer-eventsafter the first click. Here is an implementation: