Inner rounding

The problem

Sometimes we want a container that is only rounded on the inside, but the outer corners of its border/outline are sharp.

The solution with two elements

This works fine, but it forces us to use two elements (DIVs) when we only need one. Is there a way to achieve the same effect with only one element?

I have a nice subtle inner rounding, don’t I look pretty?
The solution with one element

There is a way to do this, with just one element (granted it is a bit hacky).

I have a nice subtle inner rounding, don’t I look pretty?