An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
June 1, 2020 02:43 pm GMT
Original Link: https://snook.ca/archives/html_and_css/overlapping-header-with-css-grid
Overlapping Header with CSS Grid
Snook shows off a classic design with an oversized header up top, and a content area that is “pulled up” into that header area. My mind goes to the same place:
Historically, Ive done this with negative margins. The header has a height that adds a bunch of padding to the bottom and then the body gets a
margin-top: -50px
or whatever the design calls for.
If you match the margin
and padding
with a situation like this, it’s not … Read article “Overlapping Header with CSS Grid”
The post Overlapping Header with CSS Grid appeared first on CSS-Tricks.
Original Link: https://snook.ca/archives/html_and_css/overlapping-header-with-css-grid
Share this article:
Tweet
View Full Article