<div class="row">
<div class="col-md-6">
<div class="bg-danger">1</div>
</div>
<div class="col-md-6">
<div class="bg-success">2</div>
</div>
<div class="col-md-6">
<div class="bg-warning">3</div>
</div>
</div>
wrapper .content {
margin: 69px 20px 0px 20px;
}
wrapper .content .block {
width: 292px;
float: left;
margin: 0 10px 58px 10px;
}
wrapper .content .block .inner {
top: 0;
bottom: 0;
left: 0;
right: 0;
}
wrapper .content .block .image {
width: 292px;
height: 292px;
display: flex;
justify-content: center;
align-items: center;
background: white;
}
wrapper .content .block .text {
display: flex;
flex-direction: column;
align-items: center;
width: 263px;
margin: 0 auto;
text-align: center;
}
wrapper .content .block .text h3 {
font-family: LatoBold;
font-size: 16px;
}
wrapper .content .block .text h3 span {
letter-spacing: 2px;
}
wrapper .content .block .text>span {
font-family: LatoRegular;
font-size: 14px;
line-height: 25px;
}
wrapper .content .block .inner:hover {
margin: -20px -24px -102px -24px;
z-index: 1;
border: 5px solid #d5223d;
background-color: #fff;
box-shadow: 3px 5px 20px 0.00px rgba(0, 0, 0, 0.19);
}
wrapper .content .block .inner:hover .text .button{
display: block;
}
wrapper .content .block .inner:hover .image {
margin: auto;
position: relative;
top: 15px;
}
wrapper .content .block .inner:hover .text {
margin-top: 15px;
}
wrapper .content .block .text .button{
margin-top: 31px;
width: 292px;
height: 50px;
background-color: #d5223d;
color: white;
text-decoration: none;
font-family: LatoBold;
font-size: 16px;
text-align: center;
padding-top: 15px;
box-sizing: border-box;
letter-spacing: 2px;
display: none;
}
gulp.task('browser-sync', function() {
browserSync.init({
server: {
baseDir: "./client"
}
});
gulp.watch("./client/**/*.html", browserSync.reload);
gulp.watch("./client/**/*.js", browserSync.reload);
});
<button class="btn control btn-hide" name="hide">Hide</button><button class="btn control btn-show" name="show">Show</button>
<button class="btn control btn-hide" name="hide">Hide</button>
<button class="btn control btn-show" name="show">Show</button>
gulp.task('wiredep', function () {
var wiredep = require('wiredep').stream;
gulp.src('./client/index.html')
.pipe(wiredep({
}))
.pipe(gulp.dest('./client'));
});
"scripts": {
"postinstall": "gulp wiredep"
}