Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
HTML rectangle box with flatter border at bottom

I want to create a box in html where the bottom is round but not a circle. I know i can add border radius bottom, see https://jsfiddle.net/cxo8usyL/

#square_1 {
  width: 100px;
  height: 250px;
  background: gold;
  border-radius: 0px 0px 50px 50px;
}

But the circle at the bottom will turn round every time. Is there a trick to make the circle flatter like in the blue one below? Current implementation (see jsfiddle in yellow), my target is in blue.

enter image description here Target: enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use elliptical border radius to achieve "round flat" effect. But since you cannot use it for just top/bottom corners, you'd need to combine it with another rectangle on one side. example solution: border-radius: 60px / 10px;

https://css-tricks.com/almanac/properties/b/border-radius/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!