2023-07-01から1ヶ月間の記事一覧
// ページ内リンクの際にheader分の高さを確保する html { scroll-padding-top: 80pxf } // header固定の設定 header { position: sticky; top: 0; z-index: 1; }
解説コード const path = require("path"); const glob = require("glob"); function getHtml() { const htmlFiles = glob.sync("**/*.html", { cwd: path.resolve(__dirname), ignore: ["**/modules/**/*.html", "**/assets/**/*.html", "**/dist/**/*.html…
Installation Micromodal is available on npm and can be installed from the command line via npm or yarn Micromodalはnpmで利用可能で、コマンドラインからnpmまたはyarnでインストールできる。 npm install micromodal --save // via npm yarn add mic…
Introduction Micromodal.js is a lightweight, configurable and a11y-enabled modal library written in pure JavaScript Micromodal.jsは、純粋なJavaScriptで書かれた、軽量で設定可能なa11y対応のモーダルライブラリです。 It enables you to create WA…