Permalink
Browse files

jQueryをCDNから読み込ませ、JSで上からheaderが時間差でスライドインを実装

  • Loading branch information...
ryosuketter committed Aug 31, 2017
1 parent a42a848 commit bb227dc002e03fed4f1db806a6e5f5555b9d318b
Showing with 8 additions and 1 deletion.
  1. +1 −0 index.html
  2. +7 −1 index.js
View
@@ -10,6 +10,7 @@
<title>page_loading_effects</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./normalize.css">
<script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
<script src="./index.js"></script>
</html>
<body>
View
@@ -1 +1,7 @@
console.log("test");
$(function(){
$(".header").css("display","none");
});
$(window).on("load",function(){
$(".header").delay(1000).slideDown("slow");
});

0 comments on commit bb227dc

Please sign in to comment.