Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

583
Vistas
Create Close-up Half Circle in HTML CSS

I was ask to create half circle-like design for my project in html css , its look like this :

Figma Design but it really ""zoomed"in.

i tried to make it and the closest i could look like this : My Closest

with this code :

.semi-circle {
  transform: translate(0, 0);
  height: 150px;
  width: 100%;
  border-radius: 0 0 150px 150px;
  /* border-radius: 0 0 150px 150px;  */
  background-color: #0E47A1;
}
<div class="semi-circle"></div>

what can i tweak and how to make it like the designed one

about 4 years ago · Juan Pablo Isaza
3 Respuestas
Responde la pregunta

0

I have used ::after to create the effect, you can change the height get desired curve.

.curve{
  position: relative;
  width: 300px;
  height: 200px;
  margin: auto;
  overflow: hidden;
}
.curve::after{
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  border-radius:50%;
  background: blue;
  width:500px;
  height:300px;
  transform: translate(-50%, -50%);
}
<div class="curve"></div>

about 4 years ago · Juan Pablo Isaza Denunciar

0

This looks like the example. It is responsive and will fit like that on any screen.

.semi-circle {
  transform: translate(0, 0);
  height: 150%;
  width: 150%;
  border-radius: 50%;
  /* border-radius: 0 0 150px 150px;  */
  background-color: #0E47A1;
  position: absolute;
  top: -90%;
  left: -22.5%;
}

body {
  overflow: hidden;
}
<div class="semi-circle"></div>

about 4 years ago · Juan Pablo Isaza Denunciar

0

Heres some idea for you. you can set it to transform then rotate it at the same time put a fake div at the top so you can cover all remaining blue. Let me know.

body {background-color:lightgrey;}

.semi-circle { 
  height: 200px; 
  width: 200px; 
  border-radius : 50%;             
  background-color: #0E47A1; 
  margin-top:0px;
  transform: scale(1.5) rotateX(105deg);  
  overflow:hidden;
  align-items:center;
  margin-left:50px;

} 

.box { 
  width: 300px;
  height: 800px;
  border:1px solid gray;
  background-color:white;
  }
 
.blue {
  background-color:#0E47A1;
  height:100px;
  }

.whitebox {
  width:220px;
  height:40px;
  line-height:1;
  margin:0 auto;
  box-shadow: 2px 2px 4px 2px gray;
  text-align:center;
  padding:10px;
  border-radius:20px;
  position:absolute;
  top:120px;
  left:40px;
  background-color:white;
  }
<body> 
  
 <div>Home</div>
 
  <div class="box">
  <div class="blue">
   <div class="semi-circle"></div> 
    <div class="whitebox">Hello Visitors!
     <span>this is the hidden text......</span>
    </div>
   </div>
  </div>
 </body>

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda