I'm trying to figure out a way to target the previous sibling on hover. In this fiddle, I'd like the Edit button to turn green when you hover over it or the entire wrapper, but when you hover over the Delete button, it turns red and the Edit button returns to normal. Because they are both in the same parent (and necessarily must be) this seems difficult.
I should note I'm working in SASS so maybe there's a conditional way of doing this?
<div class="wrapper">
<button class="btn edit">
Edit
</button>
<button class="btn delete">
Delete
</button>
</div>