This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var owl = $('.owl-carousel'); | |
owl.owlCarousel({ | |
items: 5, | |
loop: true, | |
margin: 10, | |
autoplay: true, | |
autoplayTimeout: 2000, | |
autoplayHoverPause: true, | |
nav: true, | |
navText: ['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"code": "+7 840", | |
"name": "Abkhazia" | |
}, | |
{ | |
"code": "+93", | |
"name": "Afghanistan" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0/tcp Reserved | |
tcpmux 1/tcp TCP Port Service Multiplexer | |
compressnet 2/tcp Management Utility | |
compressnet 3/tcp Compression Process | |
rje 5/tcp Remote Job Entry | |
echo 7/tcp Echo | |
discard 9/tcp Discard | |
systat 11/tcp Active Users | |
daytime 13/tcp Daytime (RFC 867) | |
qotd 17/tcp Quote of the Day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".scroll-to").on('click', function(event) { | |
if (this.hash !== "") { | |
event.preventDefault(); | |
var hash = this.hash; | |
$('html, body').animate({ | |
scrollTop: $(hash).offset().top | |
}, 800, function(){ | |
window.location.hash = hash; | |
}); | |
} // End if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="bg-img" style="--bg-img: url('/path-to-image/image.png')"></section> | |
<style> | |
.bg-img{ | |
background-image: var(--bg-img); | |
background-repeat: no-repeat; | |
background-position: 0 0; | |
} | |
</style> |