Previews

No matching results.

Pages

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="accordion">
<details>
<summary>Notification Settings</summary>
<p class="pbe-4">
Manage how you receive notifications. You can enable email alerts for updates or push notifications for mobile devices.
</p>
</details>
<details>
<summary>Privacy & Security</summary>
<p class="pbe-4">
Control your privacy settings and security preferences. Enable two-factor authentication, manage connected devices, review active sessions, and configure data sharing preferences. You can also download your data or delete your account.
</p>
</details>
<details>
<summary>Billing & Subscription</summary>
<p class="pbe-4">
View your current plan, payment history, and upcoming invoices. Update your payment method, change your subscription tier, or cancel your subscription.
</p>
</details>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="accordion">
<details>
<summary>Notification Settings</summary>
<p class="pbe-4">
Manage how you receive notifications. You can enable email alerts for updates or push notifications for mobile devices.
</p>
</details>
<details>
<summary>Privacy & Security</summary>
<p class="pbe-4">
Control your privacy settings and security preferences. Enable two-factor authentication, manage connected devices, review active sessions, and configure data sharing preferences. You can also download your data or delete your account.
</p>
</details>
<details>
<summary>Billing & Subscription</summary>
<p class="pbe-4">
View your current plan, payment history, and upcoming invoices. Update your payment method, change your subscription tier, or cancel your subscription.
</p>
</details>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
:where(.accordion) {
details {
font-size: var(--text-sm);
&:not(:last-child) {
border-block-end-width: var(--border);
}
&::details-content {
block-size: 0;
opacity: 0;
overflow: hidden;
transition-behavior: allow-discrete;
transition-duration: var(--time-200);
transition-property: content-visibility, block-size, opacity;
transition-timing-function: var(--ease-out-3);
}
&[open]::details-content {
block-size: auto; opacity: 1;
}
}
summary {
align-items: flex-start;
cursor: default;
display: flex;
font-weight: var(--font-medium);
padding-block: var(--size-2_5);
&:hover {
text-decoration: underline;
}
&:focus-visible {
outline: var(--border-2) solid var(--color-selected-dark);
}
&[aria-disabled="true"] {
opacity: var(--opacity-50);
pointer-events: none;
}
&::after {
background-color: currentColor;
block-size: var(--size-4);
color: var(--color-text-subtle);
content: "";
inline-size: var(--size-4);
margin-inline-start: auto;
mask-image: url("chevron-down.svg");
mask-size: cover;
transition-duration: var(--time-200);
transition-property: transform;
transition-timing-function: var(--ease-out-3);
}
details[open] > &::after {
transform: var(--rotate-180);
}
}
}
Java Script is not required or multiple files are needed, check the notes.