Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Bootstrap full width Navbar two different backround colours on side

I'm using standard full width fluid Bootstrap navbar from exaples in centered inside of the container. What I try to archive is, I would like to have white background on the left side under logo as well and from logo to right with blue background color. I am almost there but I already use gradient to archive this and I need gradient for blue colour as well.

Have a look: https://jsfiddle.net/yfzxunqg/

Any ideas? Thank you.

bootstrap #css #navbar

1 Answer

Hey Petr.

Check out this stackoverflow question http://stackoverflow.com/questions/16981763/invert-css-font-color-depending-on-background-color

I don't quite get what you are trying to do but I took a guess