Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .front-page-3 .display-posts-listing {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap
- }
- .front-page-3 .listing-item {
- position: relative;
- float: left;
- width: 100%;
- margin: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- padding: 0
- }
- .front-page-3 .listing-item:focus .title,
- .front-page-3 .listing-item:hover .title {
- opacity: 1;
- top: 0
- }
- .front-page-3 .listing-item:focus .image:after,
- .front-page-3 .listing-item:hover .image:after {
- opacity: .82
- }
- .front-page-3 .image {
- min-width: 100%;
- margin: 0;
- display: block;
- position: relative
- }
- .front-page-3 .image * {
- position: relative;
- z-index: 1
- }
- .front-page-3 .image:after {
- content: " ";
- display: block;
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- height: 100%;
- width: 100%;
- opacity: .82;
- background: #3d65ff;
- background: -webkit-linear-gradient(left,#7a28ff 0,#00a1ff 100%);
- background: linear-gradient(to right,#7a28ff 0,#00a1ff 100%)
- }
- .front-page-3 .image:after {
- content: " ";
- display: block;
- opacity: 0;
- z-index: 2;
- pointer-events: none;
- -webkit-transition: all .3s ease;
- transition: all .3s ease
- }
- .front-page-3 a,
- .front-page-3 img {
- display: block;
- min-width: 100%;
- height: 100%
- }
- .front-page-3 .title {
- position: absolute;
- z-index: 3;
- margin: auto;
- text-align: center;
- left: 0;
- right: 0;
- top: -webkit-calc(100% - 1em);
- top: calc(100% - 1em);
- bottom: 0;
- height: 1em;
- color: #fff;
- font-size: 20px;
- opacity: 0;
- pointer-events: none;
- -webkit-transition: top .25s;
- transition: top .25s
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement