Re: [csswg-drafts] Suggestion: Ability to have a relative position without creating a gap in the text. (#4972)

> Use `position: absolute` + margins? I'm not sure what you're trying to do.

The problem is that `position:absolute` and margins would only work on a fixed screen width and would not work with responsive web design.

I would like to have something `:after` an element without creating a gap like `position:relative` usually does.

But `position:absolute`, which creates no gap, causes the content of `:after` to be positioned at the left edge of the view port.

-- 
GitHub Notification of comment by HT-7
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4972#issuecomment-616241082 using your GitHub account

Received on Sunday, 19 April 2020 23:10:41 UTC