Why does border-radius: 50% make a circle on a square but an ellipse on a rectangle?
Percentage values are relative to the element's dimensions: 50% of width for horizontal radii, 50% of height for vertical radii. On a 200x200px square, this produces equal 100px radii in both axes — a perfect circle. On a 300x150px rectangle, you get 150px horizontal and 75px vertical radii, creating an ellipse. Use a fixed pixel value like 9999px to force a circular curve regardless of aspect ratio.
How do I create organic blob shapes with border-radius?
Use the eight-value slash syntax with varied percentages, for example: border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%. Each corner gets different horizontal and vertical curves, producing an asymmetric organic shape. Animate between two such states for a smooth morphing blob effect often seen on modern landing pages.
Does border-radius affect the element's box model or click area?
Border-radius is purely visual — it does not change the box model, margin, or padding calculations. However, it does affect the pointer hit-test region: clicks on the clipped corner areas will not register on the element. This can cause usability issues on heavily rounded interactive elements if the clickable area becomes too small.