Create a CSS only lightbox using :target

Описание к видео Create a CSS only lightbox using :target

A look at how we can create a fun lightbox effect without the use of JavaScript! Instead of relying on JS, this uses a fun use of CSS :target pseudo class.

There are some issues with this, specially if you have a lot of items, which I address near the end of the video, but this is just one use case, there are a lot of really fun things you could do with :target, and hopefully this is enough to get you thinking about them!

CodePen: https://codepen.io/kevinpowell/pen/Lg...

---

I have a newsletter! https://www.kevinpowell.co/newsletter

New to Sass, or want to step up your game with it? I've got a course just for you: https://www.kevinpowell.co/learn-sass

---

My Code Editor: VS Code - https://code.visualstudio.com/

How my browser refreshes when I save:    • How to automatically refresh your bro...  

---

Support me on Patreon:   / kevinpowell  

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Instagram:   / kevinpowell.co  
Twitter:   / kevinjpowell  
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

Комментарии

Информация по комментариям в разработке