본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Expandable section

원문 보기 위키 갱신

Expandable section (CSS variables)

출처: 문서

본문

CSS 변수

| | 열 펼치기·접기 | 선택자 | 변수 | 값 | | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--Gap |

0.5rem

|

  • --pf-v6-c-expandable-section--Gap

  • --pf-t--global--spacer--sm

  • --pf-t--global--spacer--200

  • 0.5rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--MinWidth |

1em

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--Color |

(라이트 테마) #1f1f1f

|

  • --pf-v6-c-expandable-section__toggle-icon--Color

  • --pf-t--global--icon--color--regular

  • --pf-t--global--icon--color--100

  • --pf-t--color--gray--90

  • #1f1f1f

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction |

cubic-bezier(.4, 0, .2, 1)

|

  • --pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction

  • --pf-t--global--motion--timing-function--default

  • --pf-t--global--timing-function--200

  • cubic-bezier(.4, 0, .2, 1)

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--TransitionDuration |

100ms

|

  • --pf-v6-c-expandable-section__toggle-icon--TransitionDuration

  • --pf-t--global--motion--duration--icon--default

  • --pf-t--global--motion--duration--sm

  • --pf-t--global--duration--100

  • 100ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--Transition |

transform 100ms cubic-bezier(.4, 0, .2, 1)

|

  • --pf-v6-c-expandable-section__toggle-icon--Transition

  • transform --pf-v6-c-expandable-section__toggle-icon--TransitionDuration --pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction

  • transform --pf-t--global--motion--duration--icon--default --pf-t--global--motion--timing-function--default

  • transform --pf-t--global--motion--duration--sm --pf-t--global--timing-function--200

  • transform --pf-t--global--duration--100 cubic-bezier(.4, 0, .2, 1)

  • transform 100ms cubic-bezier(.4, 0, .2, 1)

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--Rotate |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate |

-180deg

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate |

180deg

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide |

0s

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade |

100ms

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade

  • --pf-t--global--motion--duration--fade--short

  • --pf-t--global--motion--duration--sm

  • --pf-t--global--duration--100

  • 100ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide |

0s

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade |

200ms

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade

  • --pf-t--global--motion--duration--fade--default

  • --pf-t--global--motion--duration--md

  • --pf-t--global--duration--200

  • 200ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--slide |

0s

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--slide

  • --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide

  • 0s

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDuration--fade |

100ms

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--fade

  • --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade

  • --pf-t--global--motion--duration--fade--short

  • --pf-t--global--motion--duration--sm

  • --pf-t--global--duration--100

  • 100ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionTimingFunction |

cubic-bezier(.4, 0, .2, 1)

|

  • --pf-v6-c-expandable-section__content--TransitionTimingFunction

  • --pf-t--global--motion--timing-function--default

  • --pf-t--global--timing-function--200

  • cubic-bezier(.4, 0, .2, 1)

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TransitionDelay--hide |

100ms

|

  • --pf-v6-c-expandable-section__content--TransitionDelay--hide

  • --pf-v6-c-expandable-section__content--TransitionDuration--fade

  • --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade

  • --pf-t--global--motion--duration--fade--short

  • --pf-t--global--motion--duration--sm

  • --pf-t--global--duration--100

  • 100ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--Opacity |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--TranslateY |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--PaddingInlineStart |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--MaxHeight |

0px

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--Visibility |

hidden

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expand-top__content--TranslateY |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expanded__content--Opacity |

1

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-expanded__content--TranslateY |

0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section__content--MaxWidth |

auto

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth |

46.875rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart |

0.5rem

|

  • --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart

  • --pf-t--global--spacer--sm

  • --pf-t--global--spacer--200

  • 0.5rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd |

0.5rem

|

  • --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd

  • --pf-t--global--spacer--sm

  • --pf-t--global--spacer--200

  • 0.5rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart |

1rem

|

  • --pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart

  • --pf-t--global--spacer--md

  • --pf-t--global--spacer--300

  • 1rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd |

1rem

|

  • --pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd

  • --pf-t--global--spacer--md

  • --pf-t--global--spacer--300

  • 1rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd |

1rem

|

  • --pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd

  • --pf-t--global--spacer--md

  • --pf-t--global--spacer--300

  • 1rem

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--BackgroundColor |

(라이트 테마) #f2f2f2

|

  • --pf-v6-c-expandable-section--m-display-lg--BackgroundColor

  • --pf-t--global--background--color--secondary--default

  • --pf-t--global--background--color--200

  • --pf-t--color--gray--10

  • #f2f2f2

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--BorderWidth |

1px

|

  • --pf-v6-c-expandable-section--m-display-lg--BorderWidth

  • --pf-t--global--border--width--box--default

  • --pf-t--global--border--width--100

  • 1px

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--BorderColor |

(라이트 테마) #e0e0e0

|

  • --pf-v6-c-expandable-section--m-display-lg--BorderColor

  • --pf-t--global--border--color--default

  • --pf-t--global--border--color--50

  • --pf-t--color--gray--20

  • #e0e0e0

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--BorderRadius |

16px

|

  • --pf-v6-c-expandable-section--m-display-lg--BorderRadius

  • --pf-t--global--border--radius--medium

  • --pf-t--global--border--radius--300

  • 16px

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-display-lg--TransitionDelay |

100ms

|

  • --pf-v6-c-expandable-section--m-display-lg--TransitionDelay

  • --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade

  • --pf-t--global--motion--duration--fade--short

  • --pf-t--global--motion--duration--sm

  • --pf-t--global--duration--100

  • 100ms

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart |

calc(0.5rem + 0.5rem + 1em)

|

  • --pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart

  • calc(--pf-t--global--spacer--action--horizontal--plain--default + --pf-t--global--spacer--gap--text-to-element--default + --pf-v6-c-expandable-section__toggle-icon--MinWidth)

  • calc(--pf-t--global--spacer--sm + --pf-t--global--spacer--sm + 1em)

  • calc(--pf-t--global--spacer--200 + --pf-t--global--spacer--200 + 1em)

  • calc(0.5rem + 0.5rem + 1em)

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-truncate__content--LineClamp |

3

| | .pf-v6-c-expandable-section | --pf-v6-c-expandable-section--m-truncate--Gap |

0.25rem

|

  • --pf-v6-c-expandable-section--m-truncate--Gap

  • --pf-t--global--spacer--xs

  • --pf-t--global--spacer--100

  • 0.25rem

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__toggle-icon--Rotate |

-180deg

|

  • --pf-v6-c-expandable-section__toggle-icon--Rotate

  • --pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate

  • -180deg

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate |

180deg

|

  • --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate

  • --pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate

  • 180deg

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd |

1rem

|

  • --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd

  • --pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd

  • --pf-t--global--spacer--md

  • --pf-t--global--spacer--300

  • 1rem

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--TransitionDuration--slide |

0s

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--slide

  • --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide

  • 0s

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--TransitionDuration--fade |

200ms

|

  • --pf-v6-c-expandable-section__content--TransitionDuration--fade

  • --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade

  • --pf-t--global--motion--duration--fade--default

  • --pf-t--global--motion--duration--md

  • --pf-t--global--duration--200

  • 200ms

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--Opacity |

1

|

  • --pf-v6-c-expandable-section__content--Opacity

  • --pf-v6-c-expandable-section--m-expanded__content--Opacity

  • 1

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--TranslateY |

0

|

  • --pf-v6-c-expandable-section__content--TranslateY

  • --pf-v6-c-expandable-section--m-expanded__content--TranslateY

  • 0

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--Visibility |

auto

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--Overflow |

visible

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--MaxHeight |

99999px

| | .pf-v6-c-expandable-section.pf-m-expanded | --pf-v6-c-expandable-section__content--TransitionDelay--hide |

0s

| | .pf-v6-c-expandable-section.pf-m-expand-top | --pf-v6-c-expandable-section__toggle-icon--Rotate |

0

|

  • --pf-v6-c-expandable-section__toggle-icon--Rotate

  • --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate

  • 0

| | .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child):not(.pf-m-expand-top, .pf-m-expand-bottom) | --pf-v6-c-expandable-section__content--TranslateY |

0

| | .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child):not(.pf-m-expand-top, .pf-m-expand-bottom) | --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade |

0s

| | .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child):not(.pf-m-expand-top, .pf-m-expand-bottom) | --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade |

0s

| | .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child).pf-m-expand-top:not(.pf-m-expanded) | --pf-v6-c-expandable-section__content--TranslateY |

0

|

  • --pf-v6-c-expandable-section__content--TranslateY

  • --pf-v6-c-expandable-section--m-expand-top__content--TranslateY

  • 0

| | .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child).pf-m-expand-bottom:not(.pf-m-expanded) | --pf-v6-c-expandable-section__content--TranslateY |

0

|

  • --pf-v6-c-expandable-section__content--TranslateY

  • --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY

  • 0

| | .pf-v6-c-expandable-section.pf-m-limit-width | --pf-v6-c-expandable-section__content--MaxWidth |

46.875rem

|

  • --pf-v6-c-expandable-section__content--MaxWidth

  • --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth

  • 46.875rem

| | .pf-v6-c-expandable-section.pf-m-indented | --pf-v6-c-expandable-section__content--PaddingInlineStart |

calc(0.5rem + 0.5rem + 1em)

|

  • --pf-v6-c-expandable-section__content--PaddingInlineStart

  • --pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart

  • calc(--pf-t--global--spacer--action--horizontal--plain--default + --pf-t--global--spacer--gap--text-to-element--default + --pf-v6-c-expandable-section__toggle-icon--MinWidth)

  • calc(--pf-t--global--spacer--sm + --pf-t--global--spacer--sm + 1em)

  • calc(--pf-t--global--spacer--200 + --pf-t--global--spacer--200 + 1em)

  • calc(0.5rem + 0.5rem + 1em)

| | .pf-v6-c-expandable-section.pf-m-truncate | --pf-v6-c-expandable-section--Gap |

0.25rem

|

  • --pf-v6-c-expandable-section--Gap

  • --pf-v6-c-expandable-section--m-truncate--Gap

  • --pf-t--global--spacer--xs

  • --pf-t--global--spacer--100

  • 0.25rem

| | .pf-v6-c-expandable-section.pf-m-truncate | --pf-v6-c-expandable-section__content--TransitionDelay--hide |

0s

| | .pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top | --pf-v6-c-expandable-section__toggle-icon--Rotate |

0

|

  • --pf-v6-c-expandable-section__toggle-icon--Rotate

  • --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate

  • 0

더 알아보기 (Learn more)