HTML Mosaic - Coding Capabilities

I need to program a large graphic mosaic on a web page, and I'm wondering what is best for coding it, so the solution will not be very difficult to program and maintain / modify later.

Here is the design for the mosaic, each image can change, both black and white, and color.

Mosaic

I thought of three different approaches:

  • <table> solution,
  • <div> , and each div has its position:absolute set in CSS,
  • <div> and placement using JS (array with positions / sizes).

Any other ideas?

+5
source share
1 answer

Have you seen this page here ? I can imagine that with these explanations it would be easy to make your skeleton and your future plans. :-)

0
source

Source: https://habr.com/ru/post/1206085/


All Articles