video close button
This commit is contained in:
+29
-1
@@ -1216,13 +1216,41 @@ $feature-box-div-margin-bottom: 40px
|
|||||||
|
|
||||||
#videoPlayer
|
#videoPlayer
|
||||||
@include fullScreen
|
@include fullScreen
|
||||||
background-color: rgba(0, 0, 0, 0.75)
|
background-color: rgba(0, 0, 0, 0.9)
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
iframe
|
iframe
|
||||||
@include pureCenter
|
@include pureCenter
|
||||||
@include maintain-aspect-ratio
|
@include maintain-aspect-ratio
|
||||||
|
|
||||||
|
#closeButton
|
||||||
|
position: absolute
|
||||||
|
top: 20px
|
||||||
|
right: 20px
|
||||||
|
width: 50px
|
||||||
|
height: 50px
|
||||||
|
border: 2px solid transparent
|
||||||
|
transition: 0.3s
|
||||||
|
|
||||||
|
&:before, &:after
|
||||||
|
content: ""
|
||||||
|
position: absolute
|
||||||
|
top: calc(50% - 1px)
|
||||||
|
left: 10%
|
||||||
|
width: 80%
|
||||||
|
height: 2px
|
||||||
|
background-color: white
|
||||||
|
|
||||||
|
&:before
|
||||||
|
transform: rotate(45deg)
|
||||||
|
|
||||||
|
&:after
|
||||||
|
transform: rotate(-45deg)
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
border-color: white
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Features
|
// Features
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ $video-section-height: 550px
|
|||||||
background-size: cover
|
background-size: cover
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#talkToUs
|
#talkToUs
|
||||||
h4
|
h4
|
||||||
br
|
br
|
||||||
|
|||||||
+1
-1
@@ -161,7 +161,7 @@ title: Accelerate Your Delivery
|
|||||||
|
|
||||||
<div id="videoPlayer">
|
<div id="videoPlayer">
|
||||||
<iframe data-url="https://www.youtube.com/embed/WwBdNXt6wO4?autoplay=1" frameborder="0" allowfullscreen></iframe>
|
<iframe data-url="https://www.youtube.com/embed/WwBdNXt6wO4?autoplay=1" frameborder="0" allowfullscreen></iframe>
|
||||||
<button class="close-button">foo</button>
|
<button id="closeButton"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Reference in New Issue
Block a user