css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

CSS Flexbox solution to prevent tooltips from overflowing their container at the edges.

| cool, dude | ▔▔V▔▔

Known limitations:

  • Built under the assumption that our tooltip is fixed width
  • Doesn't flip downwards if top is set very low

I'd love to see some solutions to the above problems, get at me if you come up with anything!



  1. No comments yet.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.