GotJimmy / accordion

Other
46 stars 43 forks source link

Color transparent #32

Closed AndriiReverchuk closed 1 year ago

AndriiReverchuk commented 2 years ago

When I use transparent content background color, the background color is still white.

GotJimmy commented 2 years ago

I think the content background shouldn't be transparent, otherwise the background and the content's content get all mixed up. So white is the base color of the content and on top of that you can use any content color you want.

BenevidesLecontes commented 1 year ago

Hi @GotJimmy thanks for your amazing library, using Color transparent on content is useful on cases where we don't have solid color as background. Ex: Images or gradients.

GotJimmy commented 1 year ago

Thanks! Alright, I'll have another look at transparent background of a section.