![]() ![]() The code below is to be included in your styles definition: CSS code: text overlay and text/image change on hover * Color background and text overlay on hover */ The code below also includes encapsulating link tags to make images clickable, but you can remove them if not needed. With a builder, it can be replaced by an existing container block (for example it could be the Divi “code” module, to which we simply add the overlay-image class). On a page written without a page builder (HTML page or simple WordPress theme), for instance like this article, it is essential to define it in order to properly include original content and overlay within the page. image/text overlay block displayed on mouse hover.The overlay-image class container encapsulates all the necessary structure: HOVER HTML code: original content and overlay Content structure ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |