jellekralt / Responsive-Tabs

Responsive Tabs is a jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint. You can use this plugin as a solution for displaying tabs elegantly on desktop, tablet and mobile.
http://jellekralt.github.io/Responsive-Tabs/
MIT License
531 stars 228 forks source link

Using effects with the panel #101

Closed ghost closed 8 years ago

ghost commented 8 years ago

I noticed when specifying effects (ie "fade"), the effects are applied to the entire panel itself. This poses a problem when the panel is styled with a border.

Is there any way to apply the effects on the panel's children so that only the panel contents fade and not the panel itself?

jellekralt commented 8 years ago

Unfortunately, it isn't possible to apply the effect to the children of the panel. I don't know if this is an option in your particular use case, but you could consider putting styles like the border on the container element itself, instead of the tab panel itself.