Commit 788edfc 1 parent f5c1325 commit 788edfc Copy full SHA for 788edfc
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 85
85
overflow : hidden;
86
86
}
87
87
88
- .block .video .video-placeholder-play > button {
88
+ .block .video .video-placeholder picture :: before {
89
89
opacity : 1 ;
90
+ -webkit-transition : all .3s ease;
91
+ -o-transition : all .3s ease;
90
92
transition : all .3s ease;
91
93
content : '' ;
92
- position : relative ;
94
+ position : absolute ;
93
95
width : 152px ;
94
96
height : 152px ;
95
- max-width : 152px ;
96
- padding : 0 ;
97
97
z-index : 100 ;
98
98
display : block;
99
99
top : 50% ;
102
102
background-repeat : no-repeat;
103
103
background-position : center center;
104
104
background-size : contain;
105
+ -webkit-transform : translateX (-50% ) translateY (-50% );
106
+ -ms-transform : translateX (-50% ) translateY (-50% );
105
107
transform : translateX (-50% ) translateY (-50% );
106
- border : 0 ;
107
- background-color : transparent;
108
108
}
109
109
110
110
.block .video .block .video-placeholder picture img {
You can’t perform that action at this time.
0 commit comments