[CSS] Double Columns Property

Effect as shown:

Description:

  1. Using grid layout to display the property area in two columns.
  2. The width is adaptive, taking the minimum value between 150% of original size and 80% of window width to avoid overflow.
  3. The “Add Property” button is centered at the bottom, semi-transparent by default, and becomes visible on hover.
  4. If you use full-width styles like .wide, the property area will adaptively switch to 3 or 4 columns (using the @container feature).

Full-width page effect:

(3 columns at 1200px+, 4 columns at 1600px+)

CSS:
【Moy】 Multi-Column Property.css

2 Likes