Jump to content

Create many small boxes looping downwards?


Ulixava

Recommended Posts

Is it possible using CSS to get many small boxes on the screen on different positions using some sort of loop or something?

Just like you would do with a forum how you know there is normally a huge amount of posts (And lots of rectangles where the text is written).

 

Is this possible using CSS? If not, how would I do this? There is a real big pain in the butt to type each "rectangle" in manually...

 

Thanks,

Alex

You can use CSS to define the styles of each rectangle.  Like with a forum all the posts just share a similar class which sets their style properties like colors, sizes, etc.

 

You'd have to use something else to generate the actual elements in the HTML though, that is not CSS's job.  CSS only does styling.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.