wtf-html-css icon indicating copy to clipboard operation
wtf-html-css copied to clipboard

Replaced elements absolutely positionned

Open nico3333fr opened this issue 9 years ago • 0 comments

Hi,

just below "Position and width", it could be good to mention "replaced elements absolutely positionned", which is quite… wtf.

Here is the text you could add:

Don't use width… except if you are in the case of a replaced element that is absolutely positionned. I this case, there are some weird and difficult to understand rules that apply. Specially in this case, the browser will ignore the right value. It is not a bug, it is a feature of the spec.

Here is a pen that explains it : http://codepen.io/nico3333fr/pen/wBQJWe

Do you want a PR for this ?

See you, Nicolas

nico3333fr avatar Feb 16 '16 09:02 nico3333fr