Re: [css-d] CSS only popup to stay in viewport

2016-02-11 Thread Tom Livingston
On Thu, Feb 11, 2016 at 11:24 AM, Greg Gamble wrote: > I have a popup that displays when you hover over an icon. It's a glorified tooltip, with descriptive information. When the icon is near the edge of the viewport it crossover into the area that is not viewable. Anyone have some CSS only trick

[css-d] CSS only popup to stay in viewport

2016-02-11 Thread Greg Gamble
I have a popup that displays when you hover over an icon. It's a glorified tooltip, with descriptive information. When the icon is near the edge of the viewport it crossover into the area that is not viewable. Anyone have some CSS only tricks to have it stay within the container div? Example