video js
This commit is contained in:
parent
ebc91ed2a8
commit
beb75c8dea
|
|
@ -106,7 +106,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin xlg-xxlg {
|
||||
@mixin xlg-xxxlg {
|
||||
@media (max-width: 1400px) {
|
||||
@content;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// 1400 ========================
|
||||
@include xlg-xxlg {
|
||||
@include xlg-xxxlg {
|
||||
|
||||
// About ================
|
||||
.about {
|
||||
|
|
|
|||
|
|
@ -2603,7 +2603,7 @@ svg.active .svg-elem-21 {
|
|||
padding: 0 60px 0 0 !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1400px) {
|
||||
@media (max-width: 1200px) {
|
||||
.hero_item-title {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
|
|
|||
18
index.html
18
index.html
|
|
@ -701,7 +701,25 @@
|
|||
});
|
||||
|
||||
|
||||
var play_video = document.querySelector(".video_play");
|
||||
var close_video = document.querySelector(".modal_close");
|
||||
var modal_video = document.querySelector(".modal_video video");
|
||||
|
||||
|
||||
if (close_video != undefined) {
|
||||
close_video.addEventListener('click', function () {
|
||||
modal_video.pause();
|
||||
});
|
||||
}
|
||||
|
||||
if (play_video != undefined) {
|
||||
play_video.addEventListener('click', function () {
|
||||
modal_video.play();
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in New Issue