Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Revamped my personal GitHub profile readme! 🎉 I’ve made a fully responsive website inside an SVG, loaded as an image, using HTML, inside markdown, inside a readme​.md. Not only is it interactive and supports light/dark mode, but it also includes a fallback for Firefox😂#github

395,569 görüntüleme • 2 yıl önce •via X (Twitter)

10 Yorum

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

The animated contribution graph reflects actual data and is updated twice daily with GitHub Actions.

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

It even works in the GitHub iOS app 🤷

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

I love undertaking these kinds of absurd projects as they are an exercise in finding creative solutions to technical limitations.

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

Take a peek at the project and grab the source code from my GitHub: Heads up, though – no promises it'll play nice with every browser or device out there!

Neil Pullman profil fotoğrafı
Neil Pullman2 yıl önce

webdev is over. I’m strictly readmedev in 2024

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

Haha 😂

andrew‏ profil fotoğrafı
andrew‏2 yıl önce

GitHub final boss

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

😂

EGOIST profil fotoğrafı
EGOIST2 yıl önce

When is this SVG based frontend framework gonna be released 🤤

Terkel Gjervig profil fotoğrafı
Terkel Gjervig2 yıl önce

Hold my beer ....

Benzer Videolar

007/100 Buttons. This button was way more complex than I first thought. I love the page transition on the Truus site that Dennis Snellenberg and Jordan Gilroy worked on. So I wanted to use that drawing SVG Path idea somehow and fit it into a button. In best case with a mask effect. The idea was to have an SVG path in the background that fills the button. At the same time, this path should also be used as a mask to reveal the differently colored text. The SVG should also be replaceable and work with other SVGs. For the path animation, I can use the DrawSVGPlugin from GSAP. Sounds like a solid plan. I built the button so far, and it worked great in Chrome and Firefox. In Safari, nope. I used an SVG mask that I referenced through CSS. But Safari can’t handle that properly when the path inside the mask is animated, so the animation lags. There was no simple solution for that. At least I didn’t find something. So I had to rebuild the button in another way. What I found was that the SVG mask animation works in Safari when the mask is placed on the desired element inside the SVG. That’s where foreignObject comes in, it allows you to use normal HTML elements inside an SVG. Using that, I rebuilt the hover text inside the SVG. I then referenced the mask on the foreignObject with a bit of JavaScript. And it worked! The button’s structure looks more complicated than I wanted it to be, but that happens quite often when you need to make something work across different browsers 😃 Crafting 100 Buttons with Osmo ⏳ Total time: 96h

Eduard Bodak

67,623 görüntüleme • 4 ay önce