@DimiPavlov
Posted
Hello Garang, congratulation on completing the challenge.
Regards your question about color: inherit not working, I suggest you take a look at the MDN site about the 'inherit' property.
https://developer.mozilla.org/en-US/docs/Web/CSS/inherit
It does inherit the color of the parent element, in your case, that's the sections. If you take a look at your code, you will see that your section has no color property, only a background-color. So you are trying to inherit a color from a background-color, which is not possible. You can add a random color to your sections and see how your button color will also inherit it.
Hope I was able to help you.
Happy coding :)
Marked as helpful