Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

The movement and the header. ๐Ÿ™Œ

23,010 Aufrufe โ€ข vor 1 Jahr โ€ขvia X (Twitter)

6 Kommentare

Profilbild von Peter Elswood
Peter Elswoodvor 1 Jahr

That touch from Naylor too - probably his best ever game for us

Profilbild von Alastair Taylor ๐Ÿงข
Alastair Taylor ๐Ÿงขvor 1 Jahr

Walking along, singing a song, walking in a Stewart Wonderland!! ๐Ÿ’™โšฝ๏ธ๐Ÿ’™

Profilbild von Oliver Gardiner
Oliver Gardinervor 1 Jahr

Probably my favourite ever #itfc goal, sums Marcus Stewart up perfectly

Profilbild von robert wilson
robert wilsonvor 1 Jahr

What a day what a game many great memories

Profilbild von Tom
Tomvor 1 Jahr

Venus had a wand of a Left foot. Tremendous and underrated player

Profilbild von @LowieBlue
@LowieBluevor 1 Jahr

Sublime. Still give goose bumps.

ร„hnliche Videos

CSS Tip ๐Ÿค™ You can create this header effect using position: sticky, clip-path, and custom properties ๐Ÿ”ฅ (Video ๐Ÿ‘€) header { position: sticky; top: var(--margin); } main { clip-path: inset(var(--header) 0 0 0);) } No mix-blend-mode or animations required โœจ What's the trick then? ๐Ÿง Duplicate the header element first. Then fix the positioning of one behind the content. header[aria-hidden] { position: fixed; top: 0; margin-top: var(--margin); } Clip the top of the content to reveal the fixed header and put a sticky-positioned header inside it that matches up in position and size โœ‚๏ธ :root { --header: calc(var(--margin) + var(--font-size)); } main { clip-path: inset(var(--header) 0 0 0); } header { position: sticky; top: var(--margin); } Make your life easier with custom properties ๐Ÿ™Œ As the body scrolls, the fixed header gets covered by the clipped content and creates the effect โœจ And because the sticky header is "stuck" it reveals itself as the content goes out of view ๐Ÿ˜ This one's pretty cool. You can set the font color to whatever you want. At first glance, it looked like it was a mix-blend-mode thing. It doesn't have to be! Think about it and lean into z-indexing ๐Ÿซถ Watch the video to get an idea of things with the exploding view ๐Ÿคฏ Any questions, etc. let me know! Will likely do a YouTube video on this one too! ๐Ÿ™ CodePen.IO link below! ๐Ÿ‘‡

jhey ส•โ€ขแดฅโ€ขส”

427,236 Aufrufe โ€ข vor 2 Jahren