DIVS! Gotta catch em all | Semantic component

I hate seeing div in div in div in div next to a div but, i really don't know what do i do with this.. any help is seriously priceless! https://codepen.io/thecubiq/pen/qBvaYYL
No description
3 Replies
Coder_Carl
Coder_Carl11mo ago
well my question to you is: do you want someone to be able to tab to it? or is it something that is only presentation?
cubiq
cubiqOP11mo ago
well for me semantic html is more about readibility, i dont like divs where they wouldn't have to be lol, i know that in the traditional term it is about accessibility but in my case, i just wanna make sure that it could have been done prettier than that.. it helps me then writing much simpler css selectors as well :) but i guess that in this case im gonna have to deal with just div in a div in a div..
Jochem
Jochem11mo ago
if it's only for presentation, div and span are actually the correct semantic choice
Want results from more Discord servers?
Add your server