r/learnwebdev • • Dec 29 '20

How to go about creating floating background squares?

Post image
1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/OneBananaMan Dec 30 '20

Excellent! Thank you for the detailed response, exactly what I was looking for, this seems much easier than I originally thought!

1

u/[deleted] Dec 30 '20

No problem! Any questions, feel free to message me.

On this post of mine, I used position absolute to add those image icons over the password input. That's position: absolute; in practice.

https://www.reddit.com/r/webdev/comments/klk134/started_learning_js_2_days_ago_just_made_my_first/

By the way, I will also recommend learning the BEM class naming methodology for CSS and html class names since you will be using multiple classes to modify different properties of a single element. It helps you stay way more organized.

https://www.youtube.com/watch?v=er1JEDuPbZQ