Hacker News new | ask | show | jobs
by FZY0E1RnLM 2088 days ago
This might be solved by putting the margin on .content and using negative space for full-bleed elements, as in:

  .content { width: 65ch; margin: 0 auto }
  .content .full-bleed {
    width: 100vw;
    margin-left: calc((65ch - 100vw) / 2);
  }
1 comments

yeah, that's the most common way of doing it afaik