- 選択ツールがない。やじるがデフォ
- ショートカットをもう一回押せば、解除
- グループ化はフォルダ
- グループ化解除は、フォルダの外に出せばOK
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
+function ($) { | |
'use strict'; | |
$(window).bind('touchstart', function() { | |
this.pageX = event.changedTouches[0].pageX; // X | |
this.pageY = event.changedTouches[0].pageY; // Y | |
console.log("start:",this.pageX,this.pageY); | |
}); | |
$(window).bind('touchmove', function() { | |
this.pageX = event.changedTouches[0].pageX; // X |
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
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
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
$font-family-maru: "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo,"メイリオ", "MS Pゴシック", Arial, sans-serif; | |
$font-family-kaku:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ','Meiryo','MS Pゴシック',sans-serif; | |
$font-family-min: 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN W3','MS P明朝','MS PMincho','MS 明朝',Georgia, 'Times New Roman', Times, serif; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
.test { | |
position: absolute; | |
top: auto; | |
left: auto; |
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
$i: 60; | |
@while $i >= 0 { | |
.mtop-#{$i} { margin-top: 1px * $i; } | |
.mbtm-#{$i} { margin-bottom: 1px * $i; } | |
$i: $i - 1; | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Interchange Contents ('-' * 20) Smarter way responsive contents exchanges by Foundation 5
Forked from Kohki SHIKATA's Pen large 3col medium 2col small 1col.
A Pen by Nobuko Kodera on CodePen.
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
jsWarrior.turn = function(warrior) { | |
// 前に敵がいたら | |
if(warrior.check() == "enemy") { | |
// 敵をアタック | |
warrior.attack(); | |
// 前に敵がいなかったら | |
} else { | |
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
/* | |
Blink | |
Turns on an LED on for one second, then off for one second, repeatedly. | |
Most Arduinos have an on-board LED you can control. On the Uno and | |
Leonardo, it is attached to digital pin 13. If you're unsure what | |
pin the on-board LED is connected to on your Arduino model, check | |
the documentation at http://arduino.cc | |
This example code is in the public domain. |
OlderNewer