Pergunta de entrevista da empresa MyHeritage

CSS question, where you have a section of an element with width:75% and another element with width:25%, where the padding is 1rem. the elements don't sit on the same block but are one above the other. fix it with CSS only

Resposta da entrevista

Sigiloso

30 de jun. de 2016

option 1 calc(75% - 1rem) calc(25% - 1rem) option 2 box-sizing: border-box;