Loading video...

Video Failed to Load

Go Home

51,587 views • 21 hours ago •via X (Twitter)

0 Comments

No comments available

Comments from the original post will appear here

Related Videos

CSS in 2024 🤯 You can create a range slider with updating value tooltip and color changing track without using any JavaScript 🤯 ::-webkit-slider-thumb{ view-timeline: --thumb inline; } Scroll animation on the slider thumb that animates a number between the "min" and "max" of the range 😅 @​property --value { syntax: ' '; } @​keyframes sync { to { --value: 100; }} Tie that up to the contain animation-range ⚡️ .control { animation: sync both linear reverse; animation-timeline: --thumb; animation-range: contain; } Hoist the view timeline so the tooltip can use the value too! :root { timeline-scope: --thumb; } Then use it in the counter which goes in the tooltip 😇 .tooltip { counter-reset: val var(--value); } .tooltip::after { content: counter(val); } Then the accent color is based on the value too 🎨 [type=range] { accent-color: hsl(var(--value) 90% 65%); } The magic from the quoted post is using anchor positioning on the range thumb to position that tooltip 👏 Never thought of that when working on the spec for this API. This API lets you tether elements to other elements. Using the pseudo is a clever move! ::-webkit-slider-thumb { anchor-name: --thumb; } .tooltip { position: absolute; anchor-default: --thumb; left: anchor(50%); bottom: calc(anchor(top) + 25%); } The last piece is the little bounce transition... OK. I used a line or two of JavaScript for that 🙏😬 const updateDelta = ({ movementX }) => { document​.documentElement​.style.setProperty('--delta-x', movementX) } document.body.addEventListener('pointermove', updateDelta) But only so you can pass the movement delta to CSS and then reset the position with linear() to get that bouncy transition 😎 .hint { rotate: calc(clamp(-60, var(--delta-x) * -1, 60) * 1deg); transition: rotate 1s linear( 0, 0.2178 2.1%, 1.1144 8.49%, ... ); } Should probably do a video on this one. Lots of little tricks to break down with it for sure! 💯 As always, any questions, let me know! Also, this one only works in Chrome Canary with the Experimental Web Platform Features flag enabled ✅ This one almost feels like rocket science ha 🚀 CodePen.IO link below! 👇

jhey ʕ•ᴥ•ʔ

251,867 views • 2 years ago

You descend from gods, not apes. History is a fabricated lie. The official timeline was manufactured in the 1800s during the "great reset" to infantilize you. Mud floods, star forts, and impossible buildings are the remnants they couldn't hide. Advanced civilizations like Tartaria, Atlantis, and Lemuria thrived with free energy, giant architecture, and consciousness technology far beyond our own. Tartaria was no myth. It spanned the globe with magnificent structures that harnessed atmospheric electricity. After its fall through orchestrated catastrophe, they repurposed the buildings as "world fairs" and claimed them as their own. Cathedrals, capitols, and ancient wonders were once power stations for the people. They destroyed the knowledge to keep you in energetic darkness. The mud flood events were real resets. Entire cities were buried under layers of liquefied earth to erase evidence of a high civilization. Orphan trains, world expositions, and the sudden "rediscovery" of ancient sites are all part of the cover-up. Giants walked this earth. Their bones are hidden in elite vaults. Your ancestors built in harmony with the cosmos. They inverted it into control. Atlantis and Lemuria didn't sink by accident. They fell through internal corruption and external interference, the same forces active today. Crystal technology, sound levitation, and interdimensional travel were everyday realities. Survivors seeded the "primitive" cultures we were taught about. The great libraries were torched or submerged to sever your lineage. The Roman Empire, Egypt, and other "ancient" wonders are far more recent than admitted. Chronology was deliberately stretched and duplicated to create a false depth of time. This keeps you feeling small, recent, and powerless. Real human history spans hundreds of thousands of years of golden ages. The reset cycles continue until we break them. Hidden history was concealed to make you accept mediocrity and dependence. Seek the old photographs, architectural anomalies, and suppressed texts. Feel the resonance in your bones when you see the truth. When enough reclaims this memory, the false timeline dissolves. You are heirs to a magnificent legacy.

Ra 𐦝

34,179 views • 10 days ago