Skip to content

Instantly share code, notes, and snippets.

@Pavracer
Created March 16, 2021 02:42
Show Gist options
  • Save Pavracer/6e1102887d7ad3561a3de60111146af5 to your computer and use it in GitHub Desktop.
Save Pavracer/6e1102887d7ad3561a3de60111146af5 to your computer and use it in GitHub Desktop.
.myblurb .et_pb_blurb_container {
top: 100%;
opacity: 1;
-moz-transform: translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
.myblurb .et_pb_blurb_container {
position: absolute;
background: #fff;
display: block;
line-height: 1.7em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: left;
padding: 15px;
z-index: 100;
width: 100%;
max-height: 100%;
overflow: hidden;
top: 100%;
left: 0;
-moz-transform: translate3d(0,-50%,0);
-webkit-transform: translate3d(0%,-50%,0);
transform: translate3d(0%,-50%,0);
opacity: 0;
-moz-transition: all 0.8s;
-webkit-transition: all 0.8s;
transition: all 0.8s;
}
.myblurb:hover .et_pb_blurb_container {
background-color: #00c3e3;
color: #fff;
opacity: .9;
-moz-transform: translate3d(0,-100%,0);
-webkit-transform: translate3d(0,-100%,0);
transform: translate3d(0,-100%,0);
-moz-transition: all 0.8s;
-webkit-transition: all 0.8s;
transition: all 0.8s;
box-shadow: 0px -2px 28px rgb(255 255 255 / 30%);
}
.myblurb {
position: relative;
margin: 0;
padding: 0;
display: inline-block;
line-height: 0;
overflow: hidden;
}
.myblurb .et_pb_main_blurb_image {
margin-bottom: 0!important;
}
.myblurb img {
-moz-transform: translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
-moz-transition: all 0.8s;
-webkit-transition: all 0.8s;
transition: all 0.8s;
}
.myblurb:hover img {
opacity: .5;
}
.myblurb span.et_pb_image_wrap {
background: #000000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment