The UI Guidelines provide a CSS-only partial re-implementation of those popups. For more complex use cases (e.g., dynamically generated tooltip text; using a template for the tooltip body), see below.