ui-material-components icon indicating copy to clipboard operation
ui-material-components copied to clipboard

[BottomNavigation & Tabs] Linear gradient for background color

Open LouieTian0209 opened this issue 3 years ago • 2 comments

Description I have a tabs setup in my project that is required to have a gradient color background from my client.

Describe the solution you'd like Expose an attribute for users on either (BottomNavigation and Tabs) or MDTabStrip to let user set background to linear gradient value.

LouieTian0209 avatar Apr 08 '21 08:04 LouieTian0209

@LouieTian0209 dont think that would be that easy. Though you can have a crack at it if you want

farfromrefug avatar Apr 08 '21 08:04 farfromrefug

Should be working already. I added a class to MDBottomNavigationBar and added background: linear-gradient(to right, #016ADE, #3932CA, #6A01B9) in my CSS. No problems whatsoever.

Or is it required to add the gradient to individual tabs?

MrSnoozles avatar Aug 11 '21 11:08 MrSnoozles