CSS tooltip delay

CSS tooltip delay
0

#1

I have the following code from an answer from stackexchange:

It really fits my use case, and I want to use it, however I try and fail to add one tweak: so that tooltip would appear after some delay, let’s say 2 secs. I’ve tried adding animation-delay, transition, transition-delay properties to different css objects to no avail. Can someone help me out?


#2

Found the solution after some more experimenting. Needed to change display: none
and display: block to visibility: hidden and visibility: visible with added transition: visibility 0s linear 1s.