# Floating mode Cap can automatically hide the CAPTCHA until a button is pressed. To use this, add the `data-cap-floating` attribute to your trigger with the query selector of the `cap-widget` element you want to use. ```html ``` You'll also need to import both the Cap library and the floating mode script from JSDelivr: ```html{2} ``` Or from the standalone server: ```html ``` The following attributes are supported: - `data-cap-floating`: The CSS selector of the `cap-widget` element you want to use. - `data-cap-floating-position`: The position of the floating widget. Can be `top` or `bottom`. - `data-cap-floating-offset`: The offset of the floating widget from the trigger element.