Elementor Icon Box Hover Effect | WordPress Hover Card CSS

Share on facebook
Facebook
Share on twitter
Twitter
Share on reddit
Reddit
Share on whatsapp
WhatsApp

Regular Hover Card

				
					/*icon box border radiues*/
selector .icon-box{
    border-radius: 10px;
}

/*icon box circle style*/
selector .icon-box .elementor-icon:before{
    content: '';
    position: absolute;
    background: #4054B2;  /*<-- change color here*/
    width: 100px;
    height: 100px;
    top: 10%;
    left: calc(50% - 49px);
    border-radius: 50%;
    transform-origin: center;
    transition: all 0.5s;
    z-index: -1;
    
}

/*icon box circle style on hover*/
selector .icon-box:hover .elementor-icon:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4054B2; /*<-- change color here*/
    transition: all 0.5s;
    z-index: -1;
    border-radius: 10px;
}

/*Icon box title style on hover*/
selector .icon-box:hover .elementor-icon-box-title{
    color: white !important; /*<-- change color here*/
    transition: all 0.5s;
}

/*Icon box description style on hover*/
selector .icon-box:hover .elementor-icon-box-description{
   color: white !important; /*<-- change color here*/
   transition: all 0.5s;
}

/*icon circle top position small desktop*/
@media(max-width:1325px){
    selector .icon-box .elementor-icon:before{
    top: 10%;
}
}

/*icon circle top position for laptop*/
@media(max-width:1150px){
    selector .icon-box .elementor-icon:before{
    top: 9%;
}
}

/*icon circle top position for tablet*/
@media(max-width:1025px){
    selector .icon-box .elementor-icon:before{
    top: 9%;
}
}

/*icon circle top position for mobile*/
@media(max-width:404px){
    selector .icon-box .elementor-icon:before{
    top: 7%;
}
}
				
			

Hover Card W/ Hide Description

				
					/*icon box border radiues*/
selector .icon-box{
    border-radius: 10px;
}

/*icon box circle style*/
selector .icon-box .elementor-icon:before{
    content: '';
    position: absolute;
    background: #4054B2;  /*<-- change color here*/
    width: 100px;
    height: 100px;
    top: 10%;
    left: calc(50% - 49px);
    border-radius: 50%;
    transform-origin: center;
    transition: all 0.5s;
    z-index: -1;
}

/*icon box circle style on hover*/
selector .icon-box:hover .elementor-icon:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4054B2; /*<-- change color here*/
    transition: all 0.5s;
    z-index: -1;
    border-radius: 10px;
}

/*Icon box title style on hover*/
selector .icon-box:hover .elementor-icon-box-title{
    color: white !important; /*<-- change color here*/
    transition: all 0.5s;
}

/*Icon box description disappear*/
selector .icon-box .elementor-icon-box-description{
   font-size: 0%;
   opacity: 0;
   transition: all 0.5s;
}

/*Icon box description appear on hover*/
selector .icon-box:hover .elementor-icon-box-description{
   font-size: 100%;  
   opacity: 1;
   color: white !important; /*<-- change color here*/
   transition: opacity 0.5s ease-in;
}

/*icon circle top position small desktop*/
@media(max-width:1325px){
    selector .icon-box .elementor-icon:before{
    top: 10%;
}
}

/*icon circle top position for laptop*/
@media(max-width:1150px){
    selector .icon-box .elementor-icon:before{
    top: 11%;
}
}

/*icon circle top position for mobile*/
@media(max-width:404px){
    selector .icon-box .elementor-icon:before{
    top: 7%;
}
}
				
			
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

More to explorer

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

45 Minute Wordpress Support

Get your Wordpress questions answered and your Wordpress issues resolved.