Responsive Fylo data storage component using HTML and CSS

Solution retrospective
N/A
What challenges did you encounter, and how did you overcome them?N/A
What specific areas of your project would you like help with?I used :is()
CSS pseudo-class to apply the background-color for header
and article
.
:is(header, article){
background-color: hsl(var(--clr-neutral-300));
}
I went to the website on my iphone SE with IOS 17.5.1 background-color doesn't appear even if I remove :is()
. I applied -webkit- and -moz- vender prefixes per this article How to Fix CSS Issues on Safari and the background-color still doesn't show.
Is there something wrong with code that I'm not seeing? What other solutions can I use that fixes this issue?
Thanks,
Rebecca
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rebecca Padgett's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord