This file contains hidden or 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
| define([ | |
| 'jquery', | |
| 'easing' | |
| ], | |
| function($) { | |
| 'use strict'; | |
| /** | |
| * 「トップに戻る」機能を初期化 |
This file contains hidden or 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
| $BREAK_POINT: 600px; | |
| @mixin pc($break-point: $BREAK_POINT) { | |
| @media screen and (min-width: $break-point) { | |
| & { | |
| @content; | |
| } | |
| } | |
| } |
This file contains hidden or 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
| //[if lt IE 9]><script src="./javascripts/html5shiv.js"></script><![endif] |
This file contains hidden or 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
| 自分探ししてます |
This file contains hidden or 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
| .mb10 { | |
| margin-bottom: 10px !important; | |
| } | |
| .mt20 { | |
| margin-top: 20px !important; | |
| } | |
| .ml5 { | |
| margin-left: 5px; |
This file contains hidden or 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
| <div id="sample-1"> | |
| LESS を使ったサンプルです | |
| </div> | |
| <!-- もちろん通常通り、クラスとして pa20 を使うことも可能 --> | |
| <p id="sample-2" class="pa20">sample</p> |
This file contains hidden or 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
| alert('こんにちは'); //( ) 内の要素をポップアップで表示する関数 | |
| jQuery('#foo'); //( ) 内の要素を jQuery オブジェクトにして返す関数(正確には別の使い方もある。後述) | |
| $('#foo'); //( ) 内の要素を jQuery オブジェクトにして返す関数 | |
| //( ) に関数を渡すと、ページ読み込み後に関数内の処理を実行する | |
| jQuery(function() { | |
| alert('こんにちは'); | |
| }) |
This file contains hidden or 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
| // Expose jQuery to the global object | |
| window.jQuery = window.$ = jQuery; |
This file contains hidden or 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 greatBono = $('曙'); | |
| greatBono.毒霧(); | |
| greatBono.凶器攻撃(); |
This file contains hidden or 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
| $('曙'); |
NewerOlder