mercredi 25 mai 2016

box-sizing + border + absolute child

I recently discovered this problem.

Check for demo on jsfiddle

As for me, the outline behaves wrong, doesn’t it? Shouldn’t the box model of the .outside element include its borders, so that the relative positioned child element outlines those borders aswell?

Is this a known problem? Is this really correct behavior? If so, could someone explain to me why it is?

Thanks in advance :)

Regards phlips




Aucun commentaire:

Enregistrer un commentaire