Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Different background for each tab

$
0
0

@alanmarth wrote:

Hi everybody.

How can I set a different background style for each tab using the tabs template?

I can't simply define a style for each ion-content, it doesn't work. So I have to wrap all tabs inside an ion-pane and then apply a background style for it, but it remains the same for all tabs.

I've tried to define styles to .scroll, .scroll-content, etc, but it appears for one sec when the app starts and then simply dissapears.

I hope you know how to address it.

Thank you guys.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>