I'm attempting to implement the :not selector in conjunction with :hover to create a visual effect where elements that are not being hovered over become semitransparent.
My goal is as follows:
1) All elements start at 100% opacity
2) When an element is being hovered, it should remain at 100% opacity while the others drop to 50% opacity.
I experimented with the following code snippet:
.news-item:not(:hover) {
@include opacity(0.5);
}