HAML
Let your bordered outer div
determine the background1 and its border-radius
2 will put a natural curve on the inner div
.
If you set the background of the inner div
, you will also need to set its border-radius
3 and you will lose your natural curves.