mrbark69 commited on
Commit
0976903
·
verified ·
1 Parent(s): bc7d1b2

You need to increase the size of the circle and the parent element should have overflow visible so that the circle can come out

Browse files
Files changed (1) hide show
  1. index.html +4 -4
index.html CHANGED
@@ -12,8 +12,8 @@
12
  </style>
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: hidden;">
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);">
@@ -23,8 +23,8 @@
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: 70px; height: 70px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2);">
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);">
 
12
  </style>
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);">
 
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);">