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
.a4-page{ | |
padding: 0 50px; | |
} | |
.a4-page+.a4-page{ | |
border-top: 1px solid #333; | |
} | |
.page-title{ | |
margin: 20px 0; | |
text-align: center; | |
font-size: 1.2rem; |
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
@media print{ | |
body,article.kiji{ | |
padding: 0; | |
margin: 0; | |
} | |
.not-print{ | |
display: none; | |
} | |
.a4-page{ | |
box-sizing: border-box; |
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
//空配列生成 | |
let arr = []; | |
let arr = new Array(); | |
//任意長の配列生成 | |
let arr = new Array(INT); | |
//一次元配列のコピー | |
let copy = arr.slice(); | |
let copy = arr.concat(); | |
//多次元配列のコピー | |
let copy = JSON.parse(JSON.stringify(arr)); |
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
<p id="output-1"></p> | |
<p><button id="bt-1">画像読み込み開始</button></p> |
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
<p id="output-2"></p> | |
<p><button id="bt-2">画像読み込み開始</button></p> |
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
.cb-set{ | |
display: inline-block; | |
font-size: 0; | |
letter-spacing: 0; | |
} | |
.cb-set + .cb-set{ | |
margin-left: 10px; | |
} | |
.checkbox,.label-cb{ | |
position: relative; |
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
/*! | |
* include-html.js v1.0 | |
* | |
* Copyright (c) 2022 motsu | |
* | |
* Released under the MIT license. | |
* see https://opensource.org/licenses/MIT | |
*/ | |
function includeHtml(args){ | |
//ini |
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
<div> | |
<p>sample-01</p> | |
<div id="sapmle-div"> | |
<p>sample-02</p> | |
</div> | |
<p>sample-03</p> | |
</div> |
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
<div> | |
<div id="sample-parent">#sample-parent</div> | |
<div class="sample-parent">.sample-parent</div> | |
<div class="sample-parent">.sample-parent</div> | |
<div class="sample-parent">.sample-parent</div> | |
</div> |