Yordis Prieto Logo
Back to TIL

Remove an element from the box model

csslayout

Sometimes you want to remove elements from participating in the Box Model. For example, in NextJS most of the time we want to ignore the mounting point #__next.

#__next {
  display: contents;
}