.tag-sub { opacity: 0.5; margin-left: 0.25em; transition: 100ms; user-select: none; } .tag-container:hover + .tag-sub { opacity: 1; } .tag-sub:hover { opacity: 1; } .tag-sub:active { opacity: 1; }