Answer the question
In order to leave comments, you need to log in
How to make, implement the output of additional information when hovering the mouse cursor?
Can it be done with HTML/CSS, Javascript?
for example: there is a block with some product and there are pictures, and when you hover the cursor or click the mouse, additional information about the product appears under it. Like an online store
Answer the question
In order to leave comments, you need to log in
Can. It is enough to write a rule in CSS for the :hover pseudo-class of this block.
set an attribute for the block, for example data-tip="Hint text"
design a pseudo-element with the content property: attr(data-tip);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question