Button Styling

How to change button styling based on attribute condition. I need to apply different cursor styling for button based on value in a attribute
1 answers

Should be fairly simple to do:

1.) Create 2 Buttons

2.) Add conditional visibility on both of them so that the first button is visible depending on attribute value. Do the same for the other one but the exact opposite visibility conditions on it.

3.) Give 1 button the styling:  cursor: move;

4. ) Or check other examples here https://www.w3schools.com/cssref/pr_class_cursor.asp

cursor: url(cursor1.png) 4 12, auto;

should also be able to use an image as the cursor