Submitted
Social proof section
- HTML
- CSS
Hi everyone! Here is my solution. This challenge is quite tricky.
- I ended up using 5 img tags for the stars. I tried
background-image
in different ways, but the gaps between the stars are too narrow, even withbackground-repeat: space
. - Regarding the indentation of rating and review sections, I chose to use flex-box with
align-self: start | center | end
overtransform: translate()
.
Feel free to leave comments if there are better solutions. Appreciate your feedback for me. Thank you so much!