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:
transitionProperty
to which thetransitionDelay
will apply to. In your case, it is thetransform
CSS property.transitionDelay
needs to include the units of the delay e.g.1s
or1000ms
.&:hover
.This is what it will look like: