Is there a way to connect CSS styles and UI custom classes? For example, can I create a class that inherits from the UIButton class and add CSS styles to it?
EDIT My custom CSS:
.button {
border: 3px solid #0a3c59;
background: #3e779d;
/* more CSS properties here */
}
.button:hover {
border: 3px solid #0a3c59;
/* more hover effects */
}
.button:active {
border: 3px solid #0a3c59;
/* more active state styling */
}
I have created a class that is inherited from the UIButton class without any other modifications. I simply want to add CSS properties to it.