The background drawing is different for each browser, which is correct?

I have created a style that highlights part of a sentence in a paragraph like this: body { background: #fafafa; padding-top: 1em; } .paragraph>span { position: relative; } .paragraph>span:after { background: black; content: “”; width: 100%; height: 1.2em; left: 0; position: absolute; } <p class=”paragraph”> Lorem <span>ipsum dolor sit amet</span>, consectetur adipiscing elit, sed do…

Details