NickName:zerociudo Ask DateTime:2018-02-02T19:28:20 Laravel nest divs in loop I want to nest divs in a loop like this <div> Content <div> Content <div> Content </div> </div> </div> I am thinking of recursion but I am not sure how to implement it in blade. Copyright Notice:Content Author:「zerociudo」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.Link to original article:https://stackoverflow.com/questions/48581730/laravel-nest-divs-in-loop Answers