Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yall with background image css with loop #90

Closed
eranga119 opened this issue Feb 4, 2021 · 0 comments
Closed

Yall with background image css with loop #90

eranga119 opened this issue Feb 4, 2021 · 0 comments

Comments

@eranga119
Copy link

eranga119 commented Feb 4, 2021

i can't figure out this.if any one can help really appreciate.

<style> .index_fip { background: black; /* A little placeholder color */ height: 16.66vw; margin: 0 0 1rem; } </style>

php
for ($q = 0; $q <= 10; $q++) { endphp
div class="index_fip lazy-bg" style="background: url(php /echo/ $image[$q]; endphp);"/ div
endphp

<script src="js/yall.min.js"></script>
<script>
  document.addEventListener("DOMContentLoaded", yall);
</script>

This kind a situation how i can use yall lazy load.

@malchata malchata closed this as completed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants