Divi Theme Text Over Image With Slide In And Zoom 👈👈👈👈

preview_player
Показать описание
Divi Theme Image Swap On Click. We are going to be using the Divi theme to create some great effects in this series of videos. The Divi theme has some great modules and effects. With a little work you can achieve some great eye-catching effects to enhance the look and user experience of your website
CSS is a great thing to learn, so I encourage you to try out some of your own ideas to get familiar with it. You can't break your site with CSS, if something doesn't work simply delete it to return back to how the site was previously.
So, follow along with the video and see how easy it is to create an image swap on button click, using the Divi theme.
For more information on the Divi theme, check out our Divi playlists below.

---------- CODE USED TODAY ----------

IMPORTANT - I have used alt codes to repesent left and right pointy brackets below on script, style, and img src, as YouTube doesn't allow them in this field. If the code doesn't work for you, replace them with regular pointy brackets.

/* Code Module Main Code Box */

‹img src="Your image url here" onclick="myFunction()"›

‹style›
.imsw {
opacity:0;
}
‹/style›

‹script›
function myFunction() {
}
‹/script›

/* Custom CSS Box */

content: "Click Me!";
position:absolute;
top:90%;
left:50%;
z-index:9999999;
transform:translate(-50%, -50%);
color:#fff;
font-size:20px;
pointer-events:none;
opacity:0;
transition-duration:.8s;

/* Custom CSS Box Hover */

opacity:1;

/* Main Element CSS Box */

cursor:pointer;

---------- RECOMMENDED PLAYLISTS ----------

---------- RECOMMENDED VIDEOS: ----------

---------- SOCIAL MEDIA ----------
Follow what I'm doing on:

#YouTubeTips #WebDesignTips #FreeWebDesignTutorials #BuildYourOwnWebsite
Рекомендации по теме