Closed ShiMeiWo closed 5 months ago
This is just an implementation example about https://github.com/quinton-ashley/p5play-web/issues/36#issuecomment-2071685111 . Please take a look.
<img>
index.html
#reel6.reel > img
background-image: url()
#reel6
#reel6 { background: url(/assets/bios/quinton-ashley.webp) #002D3F no-repeat; background-size: cover; background-position: center; }
#reel6 { background-position: calc(50% + 250px / 2) center; }
#reel6 { height: auto; background-position: 38.6% center; }
Looks much better, thanks!
This is just an implementation example about https://github.com/quinton-ashley/p5play-web/issues/36#issuecomment-2071685111 . Please take a look.
<img>
tag fromindex.html
.#reel6.reel > img
background-image: url()
of#reel6
.