pico
pico copied to clipboard
Tooltip support left, right, bottom directions
support directions with placement property.
<a data-tooltip="Tooltip" placement="top">Top</a>
<a data-tooltip="Tooltip" placement="left">Left</a>
<a data-tooltip="Tooltip" placement="bottom">Bottom</a>
<a data-tooltip="Tooltip" placement="right">Right</a>
@wenkm, Thank you and sorry for the delay. I like the addition.
I would prefer a proper custom property data-placement instead of placement.
placement is working, but it's not really valid.
Also, we could use the opportunity the replace the @keyframes camelCase names with a cleaner dash-case and prefix the animation name with tooltip-.
@keyframes tooltip-slide-top { }
@keyframes tooltip-caret-slide-top { }
Closed after #211 merge