Using CSS Position Absolute: some practical examples

Описание к видео Using CSS Position Absolute: some practical examples

A look at a few actual examples of using position absolute to make a nice looking, and responsive, card type component.

When I did my last video on CSS position relative vs absolute, a few people asked that I look at actual examples of it working, so I thought this would be a fun example. To make it even more fun, I look at a few neat tips and tricks that we can do with it as well. I probably go over the top here with different stuff, but I thought it would be a good opportunity to really explore some of the different things we can do with it.

For the most part, I use it position absolute on pseudo elements, )using relative positioning to keep my pseudo elements in the right place) since I'm usually using them as decorative elements, but I also look at how we can use it to put an image in the background as well.


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

---

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

Комментарии

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