Tell me how to organize in css the appearance of text and effects from nowhere when you hover over an object, i.e. with hover. I just can make a smooth selection of an object, etc., i.e. changing its style, but how to create text or internal frames on the block, buttons, like an effect?

    1 answer 1

    Inside the block make another block. In styles .first_block:hover .second_block { animate ...

     <style> .first_block { display: inline-block; width:300px; height:200px; border:1px red solid; padding:10px; } .second_block { display: none; } .first_block:hover .second_block { display: block; } </style> <div class='first_block'> <div class='second_block'> Текст </div> </div>​