
Accordions, the easy way
Smooth CSS accordions without guessing a max-height: measure the content once with a little JavaScript, store it in a CSS variable and let hidden inputs do the rest.
2 posts

Smooth CSS accordions without guessing a max-height: measure the content once with a little JavaScript, store it in a CSS variable and let hidden inputs do the rest.
![Blue gradient grid with a code window and an icon picker, and the text [UIHint("IconPicker")]](/_astro/font-awesome-episerver-property-cover.BpDsRVVM_Z2kDPeh.webp)
A custom episerver widget might seem daunting, but it doesn't have to be. Build an icon picker property together with me and see how easy it is!