Nic727 Posted May 12, 2019 Share Posted May 12, 2019 Hi, I have this design currently. If I add a link to each of my cards, I get this blank page. Do you know why <a> is affecting the child element? I though <a> didn't have styles. Thank you Link to comment Share on other sites More sharing options...
dsonesuk Posted May 12, 2019 Share Posted May 12, 2019 Depends if you have broken the parent and direct child relationship selector for styling of card by adding a anchor element between them. For example parent > childElementOrClassname { /* styling here */ } Link to comment Share on other sites More sharing options...
Nic727 Posted May 14, 2019 Author Share Posted May 14, 2019 Nevermind, I just replaced the div with an <a> tag instead. I tried to add a <a> as a parent of the <div>, but it was broken. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now