Add text over Image on Hover in Elementor Pro WordPress

Facebook
Twitter
Reddit
WhatsApp

CSS Code

				
					selector{
    height: 300px;
    overflow: hidden;
}
selector .inner-box__hover-box{
    height: 100%;
    display: flex;
    align-items: center;
}
selector .learn-btn{
   transform: translateY(35px);
   transition: all .3s ease
}
selector:hover .learn-btn{
    transform: translateY(-35px);
}
selector .box-des{
    transition: all .2s ease;
    opacity: 0;
}
selector:hover .box-des{
    opacity: 1;
}
selector .box-content{
    height: 50px;
    overflow: hidden;
    transition: all .3s ease;
}
selector:hover .box-content{
    height: 130px;
}
@media(max-width:1024px){
    selector .box-content{
    height: 25px;
}
selector:hover .box-content{
    height: 140px;
}
selector{
    height: 280px;
    overflow: hidden;
}
}
@media(max-width:767px){
    selector .box-content{
    height: 23px;
}
selector:hover .box-content{
    height: 115px;
}
selector{
    height: 250px;
    overflow: hidden;
}
}
				
			
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

More to explorer

Create a Custom Mobile Menu Drop Down In Elementor Pro

CSS /*Tablet breakpoint*/ @media(max-width:1024px){ /*Mobile nav column */ #nav-container{ display:none; overflow:hidden; } /*Switch nav widget to verticle on mobile */ .elementor-nav-menu–layout-horizontal .elementor-nav-menu

0
Would love your thoughts, please comment.x
()
x

45 Minute Wordpress Support

Get your Wordpress questions answered and your Wordpress issues resolved.