Hello everyone! I’m building a website where everything will be positioned absolutely on the page. The idea behind it is to have the whole site built without scrollbars and for all the elements to slide in and out. Would it be better to have individual classes where the position is solely defined or just place the positioning within the div’s styling. For example is it better to have:
or
I have several elements that would be using classes like that. I’m not sure which is more efficient though. Any thoughts? Thanks in advance!