SNIPPETS CodepenやGistで、スニペットをメモ書きしています。 トップ SNIPPETS(スニペット) Primer See the Pen 【CSS, JS】Scrollin.css(スクロールでふわっとフェードイン) by sarap422 (@sarap422)on CodePen. 【CSS, JS】Scrollin.css(スクロールでふわっとフェードイン) See the Pen 【CSS】hoverllin.css(ホバー用CSS) by sarap422 (@sarap422)on CodePen. 【CSS】hoverllin.css(ホバー用CSS) See the Pen 【CSS, JS】textillin(テキストアニメーション) by sarap422 (@sarap422)on CodePen. 【CSS, JS】textillin(テキストアニメーション) See the Pen 【SCSS】style-color-palette.scss(色管理用CSS) by sarap422 (@sarap422)on CodePen. 【SCSS】style-color-palette.scss(色管理用CSS) See the Pen 【SCSS】NamedColors_139.scss(WEBカラーネーム) by sarap422 (@sarap422)on CodePen. 【SCSS】NamedColors_139.scss(WEBカラーネーム) See the Pen 【CSS】_badge-button.css by sarap422 (@sarap422)on CodePen. 【CSS】_badge-button.css See the Pen 【CSS】badge-button Samples by sarap422 (@sarap422)on CodePen. 【CSS】badge-button Samples See the Pen 【CSS】breadcrumb.css(パンくずリスト) by sarap422 (@sarap422)on CodePen. 【CSS】breadcrumb.css(パンくずリスト) See the Pen 【CSS】stardust-shapehand.css(図形とか線とか) by sarap422 (@sarap422)on CodePen. 【CSS】stardust-shapehand.css(図形とか線とか) See the Pen 【CSS, JS】be-lable & responsiveTables.preview(scroll-hint.js、他) by sarap422 (@sarap422)on CodePen. 【CSS, JS】be-lable & responsiveTables.preview(scroll-hint.js、他) See the Pen 【CSS】alphonse-capsLists.css(セレクタ[style*=""] 指定によるリストと行頭文字・行末文字) by sarap422 (@sarap422)on CodePen. 【CSS】alphonse-capsLists.css(セレクタ[style*=""] 指定によるリストと行頭文字・行末文字) Layout See the Pen 【CSS】layout-pattern.preview(レイアウト用のCSSまとめ) by sarap422 (@sarap422)on CodePen. 【CSS】layout-pattern.preview(レイアウト用のCSSまとめ) See the Pen 【CSS】layout-rowgroup-pattern(横並べ) by sarap422 (@sarap422)on CodePen. 【CSS】layout-rowgroup-pattern(横並べ) See the Pen 【CSS】layout-float-pattern(display: float;) by sarap422 (@sarap422)on CodePen. 【CSS】layout-float-pattern(display: float;) See the Pen 【CSS】position:sticky サンプル by sarap422 (@sarap422)on CodePen. 【CSS】position:sticky サンプル JavaScript See the Pen 【JS】clickdion, hoverdion.js(クリック時とホバー時のアコーディオン) by sarap422 (@sarap422)on CodePen. 【JS】clickdion, hoverdion.js(クリック時とホバー時のアコーディオン) See the Pen 【JS】float-bottom.js(floatで右下・左下に画像を配置) by sarap422 (@sarap422)on CodePen. 【JS】float-bottom.js(floatで右下・左下に画像を配置) See the Pen 【js】diverment-meter.js(スクロール量・向きによってクラス付与) by sarap422 (@sarap422)on CodePen. 【js】diverment-meter.js(スクロール量・向きによってクラス付与) See the Pen 【JS】invisible-tabPanel_pc.js(PCはタブクリックでページ切り替え、スマホはアンカーリンク) by sarap422 (@sarap422)on CodePen. 【JS】invisible-tabPanel_pc.js(PCはタブクリックでページ切り替え、スマホはアンカーリンク) See the Pen 【JS】link-animeSmooth.js(Anime.jsスムーススクロール & フェードインアウト) by sarap422 (@sarap422)on CodePen. 【JS】link-animeSmooth.js(Anime.jsスムーススクロール & フェードインアウト) See the Pen 【JS】cabinetmaker.js(flexboxでの縦並べ・折り返し、高さ自動計算) by sarap422 (@sarap422)on CodePen. 【JS】cabinetmaker.js(flexboxでの縦並べ・折り返し、高さ自動計算) See the Pen 【JS】accorder-inppend.js(クリックしてからアコーディオンの中身≺template≻を挿入) by sarap422 (@sarap422)on CodePen. 【JS】accorder-inppend.js(クリックしてからアコーディオンの中身≺template≻を挿入) See the Pen 【CSS, JS】 CustomElement ❬bdi-slice❭(border-image-slice) by sarap422 (@sarap422)on CodePen. 【CSS, JS】 CustomElement ❬bdi-slice❭(border-image-slice) See the Pen 【JS】_inplace-goreinu.js(.inplaceを、同じdata-idの.template内容で書き換える) by sarap422 (@sarap422)on CodePen. 【JS】_inplace-goreinu.js(.inplaceを、同じdata-idの.template内容で書き換える) See the Pen 【JS】hlsjs.function.js(classからIDと「data-hls=""」をループで取り出してhls.js処理) by sarap422 (@sarap422)on CodePen. 【JS】hlsjs.function.js(classからIDと「data-hls=""」をループで取り出してhls.js処理) See the Pen sticky-sidebar.js(overflow: hidden; に左右されないsticky) by sarap422 (@sarap422)on CodePen. sticky-sidebar.js(overflow: hidden; に左右されないsticky) See the Pen 【JS】Anime.js:線画アニメーションの後、[data-fill]の値で塗りつぶし by sarap422 (@sarap422)on CodePen. 【JS】Anime.js:線画アニメーションの後、[data-fill]の値で塗りつぶし See the Pen Javascript:Promise サンプル(画像変更処理) by sarap422 (@sarap422)on CodePen. Javascript:Promise サンプル(画像変更処理) See the Pen image-map-resizer.jsを利用した、hoverの効くクリッカブルマップのサンプル by sarap422 (@sarap422)on CodePen. image-map-resizer.jsを利用した、hoverの効くクリッカブルマップのサンプル See the Pen 【JS】darkmode-js サンプル by sarap422 (@sarap422)on CodePen. 【JS】darkmode-js サンプル Swiper See the Pen 【PHP】swiper-viewCover.php by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewCover.php See the Pen 【PHP】swiper-viewRatio.php by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewRatio.php See the Pen 【PHP】swiper-viewTransom.php(高窓、地窓) by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewTransom.php(高窓、地窓) See the Pen 【PHP】swiper-viewScroll.php(横にスクロールして、最後で停止) by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewScroll.php(横にスクロールして、最後で停止) See the Pen 【PHP】swiper-viewGallery.php by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewGallery.php See the Pen 【PHP】swiper-viewCards(「pt-cv-scrollable」の構造に合わせたSwiper) by sarap422 (@sarap422)on CodePen. 【PHP】swiper-viewCards(「pt-cv-scrollable」の構造に合わせたSwiper) See the Pen 【PHP】popn-swiper.php(Popover API + Swiper) by sarap422 (@sarap422)on CodePen. 【PHP】popn-swiper.php(Popover API + Swiper) See the Pen 【PHP】dialoger-viewSimple.php(dialogタグを使用したシンプルなモーダル) by sarap422 (@sarap422)on CodePen. 【PHP】dialoger-viewSimple.php(dialogタグを使用したシンプルなモーダル) See the Pen 【PHP】swiper-viewModal.php by sarap422 (@sarap422)on CodePen. 【PHP】dialoger-viewSlideto.php(swiperで任意のスライドへ移動するモーダル) See the Pen 【PHP】swiper-menuSlide.php(横幅が狭くなったらスライドに切り替えるグローバルナビ) by sarap422 (@sarap422)on CodePen. 【PHP】swiper-menuSlide.php(横幅が狭くなったらスライドに切り替えるグローバルナビ) Videcker See the Pen 【PHP】videcker-viewCover(動画全画面/PCとスマホで切り替え) by sarap422 (@sarap422)on CodePen. 【PHP】videcker-viewCover(動画全画面/PCとスマホで切り替え) See the Pen videcker-viewRatio(動画:height: auto;) by sarap422 (@sarap422)on CodePen. videcker-viewRatio(動画:height: auto;) See the Pen 【PHP】videcker-viewPromise(一定時間後に動画再生) by sarap422 (@sarap422)on CodePen. 【PHP】videcker-viewPromise(一定時間後に動画再生) See the Pen 【PHP】videcker-summonOuter.php(サムネイルをクリックで動画プレイヤーを最前面に表示) by sarap422 (@sarap422)on CodePen. 【PHP】videcker-summonOuter.php(サムネイルをクリックで動画プレイヤーを最前面に表示) See the Pen 【PHP】videcker-playOuter.php(サムネイルをクリックで動画を最前面で再生) by sarap422 (@sarap422)on CodePen. 【PHP】videcker-playOuter.php(サムネイルをクリックで動画を最前面で再生) See the Pen 【JS】hlsjs.function.js(classからIDと「data-hls=""」をループで取り出してhls.js処理) by sarap422 (@sarap422)on CodePen. 【JS】hlsjs.function.js(classからIDと「data-hls=""」をループで取り出してhls.js処理) GSAP See the Pen 【JS】accorder-inppend.js(クリックしてからアコーディオンの中身≺template≻を挿入) by sarap422 (@sarap422)on CodePen. 【JS】accorder-inppend.js(クリックしてからアコーディオンの中身≺template≻を挿入) Parts See the Pen 【PHP】pageBtn-group.php(ツールチップが表示されるTOP・BOTTOM・100vh進む・戻るボタン) by sarap422 (@sarap422)on CodePen. 【PHP】pageBtn-group.php(ツールチップが表示されるTOP・BOTTOM・100vh進む・戻るボタン) See the Pen 【PHP】drwrmenu.php(GSAP使用) by sarap422 (@sarap422)on CodePen. 【PHP】drwrmenu.php(GSAP使用) See the Pen 【JS, CSS】masonry.js サンプル by sarap422 (@sarap422)on CodePen. 【JS, CSS】masonry.js サンプル See the Pen 【PHP】masonry-viewCards.php by sarap422 (@sarap422)on CodePen. 【PHP】masonry-viewCards.php See the Pen 【PHP】gsap-locoMotiveHory.php by sarap422 (@sarap422)on CodePen. 【PHP】gsap-locoMotiveHory.php Header & Footer See the Pen 【HTML, CSS】HEADER&FOOTER Samples by sarap422 (@sarap422)on CodePen. 【HTML, CSS】HEADER&FOOTER Samples Menu See the Pen 【PHP】parts/dropmenu.php(hoverdion.js) by sarap422 (@sarap422)on CodePen. 【PHP】parts/dropmenu.php(hoverdion.js) Fonts See the Pen 【HTML】Character-Entity.html(文字実体参照/数字実体参照のまとめ) by sarap422 (@sarap422)on CodePen. 【HTML】Character-Entity.html(文字実体参照/数字実体参照のまとめ) See the Pen 【HTML】Unicode-Ideoglyphs\.html(Unicodeの文字記号) by sarap422 (@sarap422)on CodePen. 【HTML】Unicode-Ideoglyphs\.html(Unicodeの文字記号) See the Pen おすすめの Google Fonts by sarap422 (@sarap422)on CodePen. おすすめの Google Fonts See the Pen Material-Symbols Sample 500 by sarap422 (@sarap422)on CodePen. Material-Symbols Sample 500 See the Pen Simple-Icons Samples 500 by sarap422 (@sarap422)on CodePen. Simple-Icons Samples 500 See the Pen 【CSS】Fluid-responsive font-size Samples by sarap422 (@sarap422)on CodePen. 【CSS】Fluid-responsive font-size Samples See the Pen 【CSS】Fluid-fractional rem(fem/分数的な可変rem) by sarap422 (@sarap422)on CodePen. 【CSS】Fluid-fractional rem(fem/分数的な可変rem) READ MORE