circle { cursor: default; fill: #FFBD33; stroke-width: 0; r: var(--node-r); } circle:hover { stroke-width: 0.03px; cursor: pointer; stroke: green; } circle:active { stroke-width: 0.03px; stroke: #FF5733; } circle + text { transition-delay: 0.1s; font-size: 0.01em; font-weight: normal; } text { dominant-baseline: middle; text-anchor: middle; fill: red; transform: scale(1, -1); user-select: none; }