Pvtrixx Pvtrixx - 1 month ago 6
CSS Question

CSS Line Breaking with Image

As we all know we use

to break the lines in websites... But I would like to have image as line breaker. Like example:

Here is some text and I will line break it like this ->

-* -* -* -* -* -* -* -* -* -* -*
and some more text here

How I can do it?


Give it a block display:

img {
  display: block;
Lorem ipsum <img src="https://placekitten.com/100/100" /> dolar sit amet