JRev3
KPCKevin Powell - Community
•Created by JRev3 on 6/29/2023 in #front-end
Style elements between two headings
Really appreciate the help! I think the javascript approach actually helped me consider some new ideas. I updated the codepen with this code. I'm able to create collapsable sections without adding new divs.
24 replies
KPCKevin Powell - Community
•Created by JRev3 on 6/29/2023 in #front-end
Style elements between two headings
Kevin, thanks for weighing in! I am fine using :has, as it would be a plus if there's browser support but not a big deal if not
24 replies
KPCKevin Powell - Community
•Created by JRev3 on 6/29/2023 in #front-end
Style elements between two headings
That's an interesting idea. I will try that. I would like to make collapsible sections in this way. (I know not ideal, but the help file is already made, so less work to be able to implement it just from CSS/JS). But I think this might work. I can use the ids of the h5 to add unique classes to each selection with this approach. Thanks! I'll update after I test it.
24 replies
KPCKevin Powell - Community
•Created by JRev3 on 6/29/2023 in #front-end
Style elements between two headings
Sorry, forgot to link my codepen. Updaed the original post again.
24 replies
KPCKevin Powell - Community
•Created by JRev3 on 6/29/2023 in #front-end
Style elements between two headings
Thank you. I've updated my original post.
24 replies