Измените текст на зависании
Check This: https://codepen.io/DevLorenzo/pen/vYXbJvd
DevLorenzo
Check This: https://codepen.io/DevLorenzo/pen/vYXbJvd
/*HTML*/
<button><span>3 replies</span></button>
/*CSS*/
button {width:6em}
button:hover span {display:none}
button:hover:before {content:"Reply!"}
Check this:
https://codepen.io/DevLorenzo/pen/vYXbJvd
<Typography
align="center"
component="p"
sx={{
fontSize: 18,
"&:hover": { fontSize: 0 },
"&:hover:before": {
fontSize: "20px",
content:
'"contact me if you have projects or want some help on your project, thanks... "',
},
}}
>
The best platform for interactive learning...
</Typography>