I have created a small box element with a close button that looks like this:
___
| X|
‾‾‾
In order to make it more interactive, I applied some CSS so that when hovered, the box expands like this:
___________________
| X|
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Essentially, it just becomes wider and more visible.
Now, my goal is for the box to maintain its expanded size only when any part of the box except the close button (X) is hovered over.
If the user hovers over the close button (X), the box should not change its enlarged state.
Do you believe achieving this behavior using only CSS is possible?
EDIT: I apologize for adding this late, but please base your answers on this live example: http://jsfiddle.net/fpY34