I ma using Laravel for a project and the @foreach makes me confuse. When i use the next piece of code my desktop page goes crazy and I dont know why:

But when i type it manually it is responsive. Any suggestions? This is the manual way:

I ma using Laravel for a project and the @foreach makes me confuse. When i use the next piece of code my desktop page goes crazy and I dont know why:

But when i type it manually it is responsive. Any suggestions? This is the manual way:

The above code is perfect only.
May be the issue with using bootstrap here.
OR
Try this command :
php artisan view:clear