.gva-hover-box-carousel{ .hover-box-item{ position: relative; width: 100%; .box-background{ position: absolute; @include size(100%, 100%); top: 0; left: 0; z-index: 1; background-size: cover; background-position: center center; &:after{ content: " "; position: absolute; display: block; width: 100%; height: 100%; z-index: 1; bottom: 0; left: 0; background: -moz-linear-gradient(top, rgba(0,0,0,0) 10%,rgba(0,0,0,0.80) 80%); background: -webkit-gradient(linear, left top,left bottom,color-stop(90%,rgba(0,0,0,0)),color-stop(80%,rgba(0,0,0,0.80))); background: -webkit-linear-gradient(top, rgba(0,0,0,0) 10%,rgba(0,0,0,0.80) 80%); background: -o-linear-gradient(top, rgba(0,0,0,0) 10%,rgba(0,0,0,0.80) 80%); background: -ms-linear-gradient(top, rgba(0,0,0,0) 10%,rgba(0,0,0,0.80) 80%); background: linear-gradient(to bottom, rgba(0,0,0,0) 10%,rgba(0,0,0,0.80) 80%); transition: all 0.35s; } &:before{ content: " "; position: absolute; display: block; width: 100%; height: 100%; z-index: 1; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.60); transition: all 0.35s; opacity: 0; } } .box-content{ position: absolute; z-index: 11; padding: 30px 20px 60px; bottom: 0; left: 0; width: 100%; text-align: center; .content-inner{ max-width: 260px; margin: 0 auto; } .box-icon{ display: inline-block; @include size(80px, 80px); background: $theme-color; line-height: 1; margin: 0 auto 20px; font-size: 30px; color: $white; line-height: 80px; padding-top: 10px; text-align: center; svg{ width: 52px; height: auto; fill: $white; } } .box-title{ color: $white; font-size: 20px; font-weight: 700; margin-bottom: 10px; } .box-desc{ color: $white; height: 0; transition: all 0.35s; overflow: hidden; } } &:hover{ .box-background{ &:after{ opacity: 0; } &:before{ opacity: 1; } } .box-desc{ height: 200px; opacity: 1; } } } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
_banner.scss | File | 2.37 KB | 0644 |
|
_blog.scss | File | 1.72 KB | 0644 |
|
_box-hover.scss | File | 2.79 KB | 0644 |
|
_brand-hover.scss | File | 1.88 KB | 0644 |
|
_brand.scss | File | 427 B | 0644 |
|
_career.scss | File | 1.46 KB | 0644 |
|
_cart.scss | File | 941 B | 0644 |
|
_circle-progress.scss | File | 674 B | 0644 |
|
_countdown.scss | File | 2.14 KB | 0644 |
|
_counter.scss | File | 2.42 KB | 0644 |
|
_course-banner-group.scss | File | 7.9 KB | 0644 |
|
_course-filter-form.scss | File | 3.56 KB | 0644 |
|
_course.scss | File | 117 B | 0644 |
|
_gallery.scss | File | 1.17 KB | 0644 |
|
_heading-block.scss | File | 3.19 KB | 0644 |
|
_icon-box-group.scss | File | 1.37 KB | 0644 |
|
_icon-box-styles.scss | File | 8.3 KB | 0644 |
|
_image-content.scss | File | 8.18 KB | 0644 |
|
_locations-map.scss | File | 2.83 KB | 0644 |
|
_navigation-menu.scss | File | 272 B | 0644 |
|
_posts.scss | File | 2.82 KB | 0644 |
|
_pricing.scss | File | 2.16 KB | 0644 |
|
_search-box.scss | File | 193 B | 0644 |
|
_services-group.scss | File | 1.49 KB | 0644 |
|
_team.scss | File | 5.27 KB | 0644 |
|
_testimonial.scss | File | 5.76 KB | 0644 |
|
_user.scss | File | 5.49 KB | 0644 |
|
_video-box.scss | File | 4.28 KB | 0644 |
|
_video-carousel.scss | File | 1.11 KB | 0644 |
|
_work-process.scss | File | 2.34 KB | 0644 |
|