Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .subpage-banner {
- width: 100%;
- display: flex;
- overflow: hidden;
- }
- .subpage-banner__image-1, .subpage-banner__image-2, {
- height: 190px;
- position: relative;
- letter-spacing: 50px;
- z-index: 10;
- display: inline-block;
- vertical-align: middle;
- overflow: hidden;
- backface-visibility: hidden;
- transform:skew(-20deg,0);
- border-right: 3px solid transparent;
- img {
- }
- }
- .subpage-banner__image__inner {
- position: absolute;
- top: 0;
- bottom: 0;
- left: -18%;
- right: -18%;
- transform: skew(20deg,0);
- }
- .subpage-banner__image-1 {
- width: 30%;
- margin-left: -34px;
- }
- .subpage-banner__image-2 {
- width: 25%;
- }
- .subpage-banner__txt {
- width: 45%;
- height: 190px;
- position: relative;
- left: -40px;
- z-index: 20px;
- display: inline-block;
- vertical-align: middle;
- background-color: $blue;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement