--- title: Popout menu tags: interactivity,intermediate firstSeen: 2018-02-25T15:14:39+02:00 lastUpdated: 2020-12-30T15:37:37+02:00 --- Reveals an interactive popout menu on hover/focus. - Use `left: 100%` to move the popout menu to the right of the parent. - Use `visibility: hidden` to hide the popout menu initially, allowing for transitions to be applied (unlike `display: none`). - Use the `:hover`, `:focus` and `:focus-within` pseudo-class selectors to apply `visibility: visible` to the popout menu, displaying it when the parent element is hovered/focused. ```html