const useStyles = makeStyles({
buttonStyle: {
background: "red",
"&:hover": {
transitionDelay: '1',
transform: "scale(1.1)",
background: "red",
},
},
});
how can i implemated i transitionDelay on makeStyles? This did not work.
You're missing a few things here:
transitionPropertyto which thetransitionDelaywill apply to. In your case, it is thetransformCSS property.transitionDelayneeds to include the units of the delay e.g.1sor1000ms.&:hover.This is what it will look like: