mrbark69 commited on
Commit
a9122bb
·
verified ·
1 Parent(s): 5781b8c

I want to create a floating window which has 7 equals sections

Browse files
Files changed (1) hide show
  1. index.html +8 -6
index.html CHANGED
@@ -12,12 +12,14 @@
12
  </style>
13
  </head>
14
  <body>
15
- <div style="display: flex; overflow-x: auto; gap: 15px; padding: 10px; height: 150px; background: white; border-radius: 8px;">
16
- <div style="min-width: 120px; height: 120px; background: #e0e0e0; border-radius: 6px;"></div>
17
- <div style="min-width: 120px; height: 120px; background: #e0e0e0; border-radius: 6px;"></div>
18
- <div style="min-width: 120px; height: 120px; background: #e0e0e0; border-radius: 6px;"></div>
19
- <div style="min-width: 120px; height: 120px; background: #e0e0e0; border-radius: 6px;"></div>
20
- <div style="min-width: 120px; height: 120px; background: #e0e0e0; border-radius: 6px;"></div>
 
 
21
  </div>
22
  </body>
23
  </html>
 
12
  </style>
13
  </head>
14
  <body>
15
+ <div style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 300px; background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; overflow: hidden;">
16
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
17
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
18
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
19
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
20
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
21
+ <div style="flex: 1; border-right: 1px solid #f0f0f0;"></div>
22
+ <div style="flex: 1;"></div>
23
  </div>
24
  </body>
25
  </html>