i know i can do that in the hard way by using for loop or something like that but i’m asking
if : there is any simple way to wrap every 5 images in a long list of images
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To “wrap” an image with another element:
Yup, its pretty simple:
To force every fifth image onto the next line
This could also be done in your CSS, but
nth-childis not supported across all browsers: