이 문서의 예는 참조용으로 폭포 흐름 레이아웃 표시를 구현하기 위한 JS의 특정 코드를 공유합니다.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>瀑布流布局</title> <script src="wallpoll.js"></script> <link rel="stylesheet" href="wallpoll.css" rel="external nofollow" > </head> <body> <p id="main"> <p class="box"> <p class="pic"> <img src="wallpoll/0.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/0.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/1.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/2.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/3.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/4.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/5.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/6.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/7.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/8.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/9.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/10.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/11.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/12.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/13.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/14.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/15.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/16.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/17.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/18.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/19.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/20.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/21.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/22.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/23.jpg" alt=""> </p> </p> <p class="box"> <p class="pic"> <img src="wallpoll/24.jpg" alt=""> </p> </p> </p> </body> </html>강의 주소입니다.
위 내용은 폭포 흐름 레이아웃의 JS 구현 분석 예의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!