CSS3 Tips es un complemento creado solo con CSS3. Con parámetros en HTML5.
Características
- Parámetros fáciles con HTML5.
- Con cuatro direcciones posibles.
- Estilo moderno.
- No se requiere Javascript.
- Control CSS.
Installation
Syntax
<span class="top-tip" data-tips="TOOLTIP TEXT">TEXT</span>
Parámetros
| Opción (atributo HTML) | Descripción | Posibles valores |
|---|---|---|
class
|
Clase CSS. Esto indica la dirección donde apunta. | top-tipleft-tipbottom-tipright-tip
|
data-tips
|
Aquí agregamos texto de información sobre herramientas. |
Demo
- Hover them to see the tooltip positions.
Top tooltip
Right tooltip
Left tooltip
Bottom tooltip
Alternative Stylesheet Demo
Click the following button to open a modal and preview the alternative tooltips' appearance.
See also
- TippingOver - an extension similar to Tooltips.js.
- Tooltips - a tooltip plugin with advanced configuration.
- WdsTooltips - a tooltip that works on both mobile and desktop.