ReactJS
1.userBox {2cursor: pointer;3display: flex;4align-items: center;5}
6
7.userBox:hover span {8color: var(--orange);9}
10.userBox:hover .avatarBox {11box-shadow: 0 0 0 1px var(--orange);12}
13
14.avatarBox {15width: 60px;16height: 60px;17padding: 5px;18border-radius: 100%;19box-shadow: none;20}
21
22.avatarImage {23width: 100%;24height: 100%;25object-fit: cover;26border-radius: 100%;27}
28
29.username {30display: none;31}
32
33@media all and (min-width: 1024px) {34.username {35display: flex;36}37}
38