ボタン(2/2)
ブロックの設定を比較するサンプルです。各例の直前に変更設定と値を記載しています。
画像等は同梱素材を使用します。コピー用コードと書かれた例は、説明に従って必要なデータ・編集場所を用意してください。
sample-04366 / core/button プリセットの前景色:textColor="brown" / borderColor="brown"
sample-04367 / core/button プリセットの前景色:textColor="light-grey" / borderColor="light-grey"
sample-04368 / core/button プリセットの前景色:textColor="grey" / borderColor="grey"
sample-04369 / core/button プリセットの前景色:textColor="dark-grey" / borderColor="dark-grey"
sample-04370 / core/button プリセットの前景色:textColor="cocoon-black" / borderColor="cocoon-black"
sample-04371 / core/button プリセットの前景色:textColor="cocoon-white" / borderColor="cocoon-white"
sample-04372 / core/button プリセットの前景色:textColor="watery-blue" / borderColor="watery-blue"
sample-04373 / core/button プリセットの前景色:textColor="watery-yellow" / borderColor="watery-yellow"
sample-04374 / core/button プリセットの前景色:textColor="watery-red" / borderColor="watery-red"
sample-04375 / core/button プリセットの前景色:textColor="watery-green" / borderColor="watery-green"
sample-04376 / core/button プリセットの前景色:textColor="ex-a" / borderColor="ex-a"
sample-04377 / core/button プリセットの前景色:textColor="ex-b" / borderColor="ex-b"
sample-04378 / core/button プリセットの前景色:textColor="ex-c" / borderColor="ex-c"
sample-04379 / core/button プリセットの前景色:textColor="ex-d" / borderColor="ex-d"
sample-04380 / core/button プリセットの前景色:textColor="ex-e" / borderColor="ex-e"
sample-04381 / core/button プリセットの前景色:textColor="ex-f" / borderColor="ex-f"
sample-04382 / core/button fontSize:fontSize="small"
sample-04383 / core/button fontSize:fontSize="medium"
sample-04384 / core/button fontSize:fontSize="large"
sample-04385 / core/button fontSize:fontSize="huge"
sample-04386 / core/button lock:lock={"move":false,"remove":false}
sample-04387 / core/button lock:lock={"move":true,"remove":false}
sample-04388 / core/button lock:lock={"move":false,"remove":true}
sample-04389 / core/button lock:lock={"move":true,"remove":true}
sample-04390 / core/button anchor:anchor="sample-anchor"
sample-04391 / core/button className:className="block-gallery-example"
sample-04392 / core/button 文字色の自由指定:style.color.text="#19448e"
sample-04393 / core/button 文字色の自由指定:style.color.text="#fff3ce"
sample-04394 / core/button 文字色の自由指定:style.color.text="#a82d46"
sample-04395 / core/button 背景色の自由指定:style.color.background="#fff3ce"
sample-04396 / core/button 背景色の自由指定:style.color.background="#e8f0fa"
sample-04397 / core/button 背景色の自由指定:style.color.background="#19448e"
sample-04398 / core/button グラデーション:style.color.gradient="linear-gradient(135deg,#dcecff 0%,#fff2db 100%)"
sample-04399 / core/button グラデーション:style.color.gradient="linear-gradient(90deg,#19448e 0%,#9b2d64 100%)"
sample-04400 / core/button 文字組みの組み合わせ:style.typography.fontSize="14px" / style.typography.lineHeight="1.2" / style.typography.textAlign="left" / style.typography.fontWeight="400" / style.typography.fontStyle="normal" / style.typography.letterSpacing="0" / style.typography.textTransform="none" / style.typography.textDecoration="none" / style.typography.writingMode="horizontal-tb"
sample-04401 / core/button 文字組みの組み合わせ:style.typography.fontSize="24px" / style.typography.lineHeight="1.8" / style.typography.textAlign="center" / style.typography.fontWeight="700" / style.typography.fontStyle="italic" / style.typography.letterSpacing="0.08em" / style.typography.textTransform="uppercase" / style.typography.textDecoration="underline" / style.typography.writingMode="vertical-rl"
sample-04402 / core/button 文字組みの組み合わせ:style.typography.fontSize="2rem" / style.typography.lineHeight="2.4" / style.typography.textAlign="right" / style.typography.fontWeight="900" / style.typography.fontStyle="normal" / style.typography.letterSpacing="0.2em" / style.typography.textTransform="lowercase" / style.typography.textDecoration="line-through" / style.typography.writingMode="horizontal-tb"
sample-04403 / core/button 文字組みの組み合わせ:style.typography.fontSize="14px" / style.typography.lineHeight="1.2" / style.typography.textAlign="justify" / style.typography.fontWeight="400" / style.typography.fontStyle="italic" / style.typography.letterSpacing="0" / style.typography.textTransform="capitalize" / style.typography.textDecoration="none" / style.typography.writingMode="vertical-rl"
sample-04404 / core/button 内側の余白:style.spacing.padding={"horizontal":"0","vertical":"0"}
sample-04405 / core/button 内側の余白:style.spacing.padding={"horizontal":"1em","vertical":"1em"}
sample-04406 / core/button 内側の余白:style.spacing.padding={"horizontal":"2rem","vertical":"2rem"}
sample-04407 / core/button 枠線の組み合わせ:style.border.color="#19448e" / style.border.width="1px" / style.border.style="solid" / style.border.radius="0px"
sample-04408 / core/button 枠線の組み合わせ:style.border.color="#fff3ce" / style.border.width="3px" / style.border.style="dashed" / style.border.radius="12px"
sample-04409 / core/button 枠線の組み合わせ:style.border.color="#a82d46" / style.border.width="6px" / style.border.style="dotted" / style.border.radius="36px"
sample-04410 / core/button 影:style.shadow="4px 4px 12px #00000033"
sample-04411 / core/button 影:style.shadow="0 0 0 4px #19448e33"
sample-04412 / core/button extraBottomMargin:extraBottomMargin=""
sample-04413 / core/button extraBottomMargin:extraBottomMargin="0"
sample-04414 / core/button extraBottomMargin:extraBottomMargin="2"
sample-04415 / core/button extraBottomMargin:extraBottomMargin="10"
sample-04416 / core/button extraBottomMargin:extraBottomMargin="20"
sample-04417 / core/button スタイル:Fill
sample-04418 / core/button スタイル:Outline
sample-04419 / core/button 組み合わせ:濃い背景と白い文字
sample-04420 / core/button 長文と装飾の組み合わせ
