Skip to content

Instantly share code, notes, and snippets.

View haruhiko-zht's full-sized avatar
😇
RAGE QUIT MY LIFE, THANK YOU.

haruhiko-zht

😇
RAGE QUIT MY LIFE, THANK YOU.
View GitHub Profile
@haruhiko-zht
haruhiko-zht / 8.0.6
Last active April 9, 2022 14:24
my php-build 8.0.6 definitions for symfony 5.2-1 tutorial
configure_option "--enable-gd"
configure_option "--with-jpeg"
configure_option "--with-zip"
configure_option "--with-mhash"
# require libsodium-dev
configure_option "--with-sodium"
# require postgresql libpq-dev
configure_option "--with-pdo-pgsql"
@haruhiko-zht
haruhiko-zht / stylesheet_demo.scss
Created August 13, 2019 14:15
demo stylesheet scss
// フォント
$font-family_default: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'MS Pゴシック', 'MS PGothic', sans-serif;
$font-family_logo: 'Srisakdi', cursive;
// フォントサイズ
$font-size_s: 1rem;
$font-size_m: 1.4rem;
$font-size_default: 1.6rem;
$font-size_l: 2.6rem;
$font-size_xl: 4.2rem;
@haruhiko-zht
haruhiko-zht / counters.css
Created January 8, 2019 13:33
jquery_tablesorter_css_counter/1
table {
/* 'rowCount' という名前のカウンターを設定し、 0 で初期化する。 */
counter-reset: rowCount;
}
table > tbody > tr {
/* rowCount カウンターの値に1を加算 */
counter-increment: rowCount;
}
@haruhiko-zht
haruhiko-zht / stylesheet.css
Created October 12, 2018 06:06
css_position_study
.aaa {
width: 100px;
height: 100px;
background-color: red;
position: absolute;
top: 200px;
right: 100px;
}
@haruhiko-zht
haruhiko-zht / stylesheet.css
Created October 12, 2018 06:02
css_position_study
.bbb {
width: 100px;
height: 100px;
background-color: blue;
position: relative;
}
.ccc {
width: 50px;
height: 50px;
@haruhiko-zht
haruhiko-zht / stylesheet.css
Created October 12, 2018 06:00
css_position_study
.ccc {
width: 50px;
height: 50px;
background-color: green;
position: absolute;
bottom: 25px;
right: 25px;
}
@haruhiko-zht
haruhiko-zht / stylesheet.css
Created October 12, 2018 05:52
css_position_study
.aaa {
width: 100px;
height: 100px;
background-color: red;
position: relative;
left: 100px;
top: 100px;
}
@haruhiko-zht
haruhiko-zht / stylesheet.css
Created October 12, 2018 05:44
css_position_study
.aaa {
width: 100px;
height: 100px;
background-color: red;
}
.bbb {
width: 100px;
height: 100px;
background-color: blue;
@haruhiko-zht
haruhiko-zht / index.html
Created October 12, 2018 05:43
css_position_study
<body>
<div class="aaa"></div>
<div class="bbb">
<div class="ccc"></div>
</div>
</body>
@haruhiko-zht
haruhiko-zht / script.js
Created October 11, 2018 04:57
slide_links()
$(function(){
// クリックされた時に関数を呼び出す
$("#tab a").click(function(){
links_slide();
});
// 関数
function links_slide(){
if($("#links-content").css("left").replace("px","") < 0){