Submitted
Profile card component
- HTML
- CSS
I learned how to deal with multiple background image and also positioning them. But position isn't working with all screen size. Also I wanted to know if there is any best way to center a div. I use the following css to center a div div{ height: 22rem; width: 21rem; left: 0; right: 0; top: 0; bottom: 0; position: absolute; margin: auto; } Not sure if this is a good practice.