How do I make my button text inherit the colour from its div parent class?
Onyekachukwu Ejiofor Nweke
@Onyekachukwu-NwekeAll comments
- @IamtimonSubmitted over 2 years ago@Onyekachukwu-NwekePosted over 2 years ago
Hello, @Amuwa Timothy just in the button class assign color inherit or the text color you want
button{ color: inherit; } or button{ color: (the text color you want); }
2 - @khadijahashmi2Submitted over 2 years ago
haha this is a mess
@Onyekachukwu-NwekePosted over 2 years agoHello, I just want to add a little suggestion From your code I saw that you are using flex and 100vh, but you are using a style attribute that won't work
place-content
. Instead in the main body tagbody { display: flex; max-height: 100vh; justify-content: center; align-items: center; }
Then for the list you can add a style attribute
list-style-none
Apart from those I think you did a good job0 - @Natalia912Submitted over 2 years ago
I've had a problem with adding header image color. If you have any suggestions, please let me know.
@Onyekachukwu-NwekePosted over 2 years agoI don't think there is any issue with what you did. It's just that you have adjust your opacity. And also you can declare an empty div and use the header image as the background and then use linear gradient to overlay the color on the background.
Marked as helpful1 - @hadizacodesSubmitted over 2 years ago
I didn't know how to use vector images on the project
@Onyekachukwu-NwekePosted over 2 years agoHello @hadiza use object tag for the svg Nice work!!!
0 - @Onyekachukwu-NwekeSubmitted over 2 years ago
I found putting the attribution div hard, please any ideas on how to inlcude it without distorting the design. Thank you!!
@Onyekachukwu-NwekePosted over 2 years agoHey @12Kentos I want to add it below the responsive card
0