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.
<section> | |
<h1>GitHubを使って、HTML内にコードを表記する</h1> | |
<p> | |
<small>Created by Nobuko Kodera / 2016</small> | |
</p> | |
</section> |
/* | |
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. |
jsWarrior.turn = function(warrior) { | |
// 前に敵がいたら | |
if(warrior.check() == "enemy") { | |
// 敵をアタック | |
warrior.attack(); | |
// 前に敵がいなかったら | |
} else { | |
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.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
$i: 60; | |
@while $i >= 0 { | |
.mtop-#{$i} { margin-top: 1px * $i; } | |
.mbtm-#{$i} { margin-bottom: 1px * $i; } | |
$i: $i - 1; | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
.test { | |
position: absolute; | |
top: auto; | |
left: auto; |
$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; |