I’ve the following code and it works well by shuffling the elements within the container but the problem is that the content blocks show up closed to each other with no vertical space between them and I tried to add many tags like p and br between then to get the desired space but it giving a non arranged space so some blocks got the space and some not and sometimes it stops the shuffling at all
so I need some way how to add space between all elements (divs) while keeping the shuffling function on
couldn’t insert the code as it says “your question appears to be spam”
so I have container of divs and script for shuffling that divs and need to have virtical space between then without losing the shuffling function
lyman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1