mrbark69 commited on
Commit
cdcfbcb
·
verified ·
1 Parent(s): 7be837c

Floating Menu Items:

Browse files

Left Side (3 buttons):
Section 1 - About Us - info icon
Section 2 - Library - library_books icon
Section 3 - DMC-CSR - corporate_fare icon
Center:
Section 4 - Logo - home icon (but displays the company logo image instead)
Right Side (3 buttons):
Section 5 - Operations - settings icon
Section 6 - Bunkering - local_shipping icon
Section 7 - Contact - contact_phone icon The right side and left side these are all the content

Files changed (1) hide show
  1. index.html +25 -15
index.html CHANGED
@@ -5,7 +5,8 @@
5
  <meta name="viewport" content="width=device-width" />
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
- <style>
 
9
  body {
10
  background-color: white;
11
  }
@@ -13,29 +14,38 @@
13
  </head>
14
  <body>
15
  <div style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 60px; background: #87CEEB; border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; overflow: visible;">
16
- <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
17
- <span style="color: white; font-weight: bold;">Option 1</span>
 
18
  </div>
19
- <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
20
- <span style="color: white; font-weight: bold;">Option 2</span>
 
21
  </div>
22
- <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
23
- <span style="color: white; font-weight: bold;">Option 3</span>
 
24
  </div>
25
  <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3); position: relative; overflow: visible;">
26
- <div style="position: absolute; width: 90px; height: 90px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); top: -20px;">
27
- <span style="color: #87CEEB; font-weight: bold; font-size: 14px;">US</span>
28
  </div>
29
  </div>
30
- <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
31
- <span style="color: white; font-weight: bold;">Option 5</span>
 
32
  </div>
33
- <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
34
- <span style="color: white; font-weight: bold;">Option 6</span>
 
35
  </div>
36
- <div style="flex: 1; display: flex; justify-content: center; align-items: center;">
37
- <span style="color: white; font-weight: bold;">Option 7</span>
 
38
  </div>
39
  </div>
 
 
 
40
  </body>
41
  </html>
 
5
  <meta name="viewport" content="width=device-width" />
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <style>
10
  body {
11
  background-color: white;
12
  }
 
14
  </head>
15
  <body>
16
  <div style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 60px; background: #87CEEB; border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; overflow: visible;">
17
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
18
+ <i data-feather="info" style="color: white;"></i>
19
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">About Us</span>
20
  </div>
21
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
22
+ <i data-feather="book" style="color: white;"></i>
23
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">Library</span>
24
  </div>
25
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
26
+ <i data-feather="home" style="color: white;"></i>
27
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">DMC-CSR</span>
28
  </div>
29
  <div style="flex: 1; display: flex; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3); position: relative; overflow: visible;">
30
+ <div style="position: absolute; width: 110px; height: 110px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); top: -30px;">
31
+ <i data-feather="home" style="color: #87CEEB; width: 40px; height: 40px;"></i>
32
  </div>
33
  </div>
34
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
35
+ <i data-feather="settings" style="color: white;"></i>
36
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">Operations</span>
37
  </div>
38
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.3);">
39
+ <i data-feather="truck" style="color: white;"></i>
40
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">Bunkering</span>
41
  </div>
42
+ <div style="flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;">
43
+ <i data-feather="phone" style="color: white;"></i>
44
+ <span style="color: white; font-weight: bold; font-size: 12px; margin-top: 4px;">Contact</span>
45
  </div>
46
  </div>
47
+ <script>
48
+ feather.replace();
49
+ </script>
50
  </body>
51
  </html>