I have tab container in which
Active tab - background color - Black and text color Orange ,i want to add box shadow for active tab. How i can do that ?
tab containers have a props.tabStyle.active
property, you should be able to add boxShadow
here
but it's not working
Sorry, but that isn’t nearly enough information to help you with.
What did you do? What did it look like? What were you expecting? Where did you do it?
Does for me.
Now keep in mind that you may not see the shadow because the menu is "too small".
Try adding paddingBottom: 5px
to the menuStyle
property, see if you get some results.
I added box shadow for tabStyle.Active
-BoxShadow -(10px 10px #FFF)
I want outlet shadow effect for active tab ..
That's not even remotely the proper syntax for css properties.
i think this works
If you want things to show properly, the next thing you need to do is add some padding to the menu style (or some margin + overflow: visible
), then you'll probably want to get rid (or move) the horizontal line that messes things up
.menu-right, .tab-menu-item {
border: none;
}
You may want to make that selector a bit more specific, in case you have other tab containers where you don't want to apply that style, or some other components that use the same classes.