November 23, 2014 at 7:22 pm
add css below PB? Tab over background image
——————————————-
.infobanner {
background-size: contain !important;
}
.home-message h4 {
position: absolute;
top: auto;
bottom : 0;
height: 10%;
width: 100%;
text-align:center;
font-size: 14px;
font-family: Lato;
left: 0px;
color: #fff;
background-color: #000;
background-color: rgba(0,0,0,.6);
padding: 0px;
margin: 0;
-webkit-transition:all .6s ease-in-out;
-moz-transition:all .6s ease-in-out;
-o-transition:all .6s ease-in-out;
transition:all .6s ease-in-out;
}
.home-message h5 {
position: absolute;
bottom: -100%;
right: 0px;
height: 10%;
width:100%;
color: #fff;
display: table-cell;
vertical-align: middle;
text-align:center;
font-size: 14px;
font-family: Lato;
padding: 0px;
margin:0;
line-height: normal;
background-color: #000;
background-color: rgba(0,0,0,.6);
-webkit-transition:all .6s ease-in-out;
-moz-transition:all .6s ease-in-out;
-o-transition:all .6s ease-in-out;
transition:all .6s ease-in-out;
}
.home-message {
overflow: hidden;
}
.home-message:hover h5 {
bottom: 0%;
}
.home-message:hover h4 {
bottom: 100%;
}
.home-message:hover {
background:transparent;
}