search

Home  >  Q&A  >  body text

How to display an image on the right

I want to display only the right side of the picture

How do I do this?

<img src="https://wallpaperaccess.com/full/2942699.jpg">

P粉608647033P粉608647033516 days ago726

reply all(1)I'll reply

  • P粉107772015

    P粉1077720152023-09-14 00:19:04

    background-position: right;

    You can also use percentages

    background-position: 60%;

    reply
    0
  • Cancelreply