Created
October 13, 2015 15:01
-
-
Save ir-norn/13f00342080c51130400 to your computer and use it in GitHub Desktop.
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
<style><!-- | |
div.body { display:none } | |
div.entry_border { opacity:0.3 } | |
article.page { display:none } | |
--></style> | |
<script><!-- | |
$(document).ready(function() { | |
/* $('body').fadeIn(1400); */ | |
$('div.entry_border').fadeIn(1400); | |
$('article.page').fadeIn(400); | |
}); | |
--></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
display:noneだと
div要素にした場合に一瞬レイアウト崩れるから
opacity 0から1へ推移するフェードインのほうが良い