並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 1 件 / 1件

新着順 人気順

divideの検索結果1 - 1 件 / 1件

  • Divide Image

    1.画像ブロック要素を複製して追加する処理 const copyImgElements = (imgArea, cloneLen) => { const elementToClone = imgArea.querySelector(".image"); const fragment = document.createDocumentFragment(); for (let i = 0; i < cloneLen - 1; i++) { const clone = elementToClone.cloneNode(true); fragment.appendChild(clone); } imgArea.appendChild(fragment); } 2.複製した画像グループにclip-pathプロパティを付与する //縦ラインのclip-pathを付与する const setVertic

    1