"Footerball"
Bootstrap 4.1.1 Snippet by LeandroBizzinotto

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<head>
<title>E-Testation</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
body{margin: 0; padding: 0}
</style>
</head>
<body>
<div class="container">
<div class="box">
<div class="imgBox">
<img src="https://i.imgur.com/AzH17aZ.png" alt="a">
</div>
<div class="content">
<p class="pepe" style="">Football</p>
<h2>Image Hover Effects</h2>
<p class="pe">Lorem ipsum nisl vivamus viverra per facilisis morbi arcu tortor, varius blandit ligula fermentum sapien mi suspendisse ac orci, imperdiet hendrerit sem quam netus pellentesque luctus pretium.</p>
</div>
</div>
<div class="box">
<div class="imgBox">
<img src="https://igx.4sqi.net/img/general/600x600/13391650_-Orrd3ODh6ekCbrvu0J8vv3NzETxcZyE3DypFTJ0r-g.jpg" alt="a">
</div>
<div class="content">
<p class="pepe" style="">Is</p>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* FOOTER BOX*/
.container{position: relative; width: 100%; height: 600px; margin: 0px auto 0; padding: 0 }
.container .box{position: relative; width: 30%; height: 270px; background:#000; float: left; margin: 15px; overflow: hidden;
box-sizing: border-box; box-shadow: 0 5px 10px rgba(0, 0, 0, .8)}
.container .box:before{content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-top: 1px solid #fff;
border-bottom: 1px solid #fff; box-sizing: border-box; transition: .5s; transform: translateX(0); transform: scaleX(0);
opacity: 0; z-index: 1}
.container .box:hover:before{ transform: scaleX(1); opacity: 1;}
.container .box:after{content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-left: 1px solid #fff;
border-right: 1px solid #fff; box-sizing: border-box; transition: .5s; transform: translateY(0);opacity: 0;
transform: scaley(0);z-index: 1 }
.container .box:hover:after{ transform: scaleY(1); opacity: 1; }
.container .box .imgBox{position: relative; }
.container .box .imgBox img{width: 100%; transition: .5s; overflow: hidden; }
.container .box:hover .imgBox img{opacity: .2; transform: scale(1.2)}
.container .box .content{position: absolute; width: 100%; top: 50%;transform: translateY(-50%); z-index: 2; padding: 20px;
box-sizing: border-box; text-align: center}
.container .box .content h2{margin: 0 0 10px 0; padding: 0; color: #fff; transition: .5s; transform: translateY(-50px); opacity: 0;
visibility: hidden}
.container .box .content .pe{margin: 0 ; padding: 0; color: #fff; transition: .5s; transform: translateY(50px); opacity: 0;
visibility: hidden}
.container .box:hover .content h2{opacity: 1; visibility: visible; transform: translateY(0px)}
.container .box:hover .content .pe{opacity: 1; visibility: visible; transform: translateY(0px)}
.container .box .content .pepe{color: white; font-size: 70px; opacity: 1; visibility: visible; transform: translateY(75%)}
.container .box:hover .content .pepe{color: white; font-size: 70px; opacity:0; visibility: hidden; position: absolute; }
/* FOOTER BOX*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: