hover css are in angular code example
Example 1: angular 11 on hover
<div (mouseover)="changeText=true" (mouseout)="changeText=false">
Example 2: angular 11 on hover
<span *ngIf="changeText">Show</span>
<div (mouseover)="changeText=true" (mouseout)="changeText=false">
<span *ngIf="changeText">Show</span>