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
module A | |
@@hoge = 300 | |
end | |
module B # Aのクラス変数をGet | |
piyo = A.module_eval { class_variable_get :@@hoge } | |
p piyo # => 300 | |
end |
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
.bui_select{ | |
display:inline; | |
position:relative; | |
&:after { | |
content: ""; | |
position: absolute; | |
top: 50%; | |
right: 20px; | |
display: block; | |
width: 0; |
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
form > div:first-child { | |
display: none !important; | |
} |
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
<iframe src="http://jsrun.it/sei0o/icount" style="width:100%;overflow:hidden;" height="270" seamless></iframe> |
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
body{ | |
margin:0; | |
padding:0; | |
} | |
a,a:link,a:hover,a:active,a:focus{ | |
color:black; | |
} | |
.icount,.icount .cbox{ |
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> | |
<head> | |
<link rel="stylesheet" type="text/css" href="iPhone5SC.countdown.css"> | |
<link href='http://fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'> | |
<!--<script src="iPhone5SC.countdown.js"></script>--> | |
</head> | |
<body> | |
<div class="icount"> | |
<a href="http://apple.com/jp/iphone/"> |
NewerOlder