Discovering a new way to create elliptical border-radius has opened up my design options.
border-radius: horizontal radius / vertical radius
At first, I experimented with border-radius: 10px 20px/10px
, and it worked perfectly.
But when I tested
border-radius: 20px/10px 10px/10px
, Chrome Developer Tool flagged it as incorrect.
Seeking clarity, I turned to MDN for guidance, only to find myself even more bewildered.
The example showed
border-radius: 10px 5% / 20px 25em 30px 35em
, which seemed odd. Despite the explanation in the comments about values belonging to /* (first radius values) / top-left | top-right | bottom-right | bottom-left */
, I was left wondering about the definition of "first radius values."
The deeper I delved into this topic, the more perplexed I became. There's clearly something crucial that I'm overlooking, but what could it be?