CodeNewbie Community 🌱

Discussion on: [On-Demand Talk] This Box Will Change Your Life

Collapse
 
sunnynonsense profile image
SunnyNonsense

Thank you so much for your talk. When looking to create non-orthogonal designs or elements (e.g. diagonals, curves, etc.), is the box model able to achieve this or is there a totally different "model" that is used?

Collapse
 
whitep4nth3r profile image
@whitep4nth3r

You'll be dealing with transforms and such to achieve those types of results β€”Β however β€”Β you'll still need to understand the box model and box sizing when working with those types of things in order to understand how margins, paddings, and borders will be affected. Remember β€” every HTML element rendered in the browser has a box model regardless.