I've a div
with the Angular ng-click
directive attached to it. On hovering over this element the mouse pointer doesn't change. Is there a way to change it through CSS? I know I can simply attach an anchor tag to it, but I would like to know if this can be done.
Type mouse in the search box and select Mouse in the results to open Mouse Properties. Tap Pointers, click down arrow, choose a scheme from the list and select OK.
Fortunately, you can do this in Windows 11, and here is how. Access the Mouse properties menu like earlier shown and navigate to the Pointers sub-menu. Select the cursor you would like to change in the Customize menu and click Browse.
Is there a way to change it through css?
Yes, see cursor
.
If you just wanted to target elements with the ng-click
attribute, for example:
[ng-click], [data-ng-click], [x-ng-click] { cursor: pointer; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With