@Iamtimon
Submitted
How do I make my button text inherit the colour from its div parent class?
@Onyekachukwu-Nweke
@Iamtimon
Submitted
How do I make my button text inherit the colour from its div parent class?
@Onyekachukwu-Nweke
Posted
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);
}
@khadijahashmi2
Submitted
haha this is a mess
@Onyekachukwu-Nweke
Posted
Hello, 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 tag
body {
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 job
@Natalia912
Submitted
I've had a problem with adding header image color. If you have any suggestions, please let me know.
@Onyekachukwu-Nweke
Posted
I 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 helpful
@hadizacodes
Submitted
I didn't know how to use vector images on the project
@Onyekachukwu-Nweke
Posted
Hello @hadiza use object tag for the svg Nice work!!!
@Onyekachukwu-Nweke
Submitted
I found putting the attribution div hard, please any ideas on how to inlcude it without distorting the design. Thank you!!
@Onyekachukwu-Nweke
Posted
Hey @12Kentos I want to add it below the responsive card