- cross-posted to:
- programmerhumor@lemmy.ml
- programming_horror@programming.dev
- cross-posted to:
- programmerhumor@lemmy.ml
- programming_horror@programming.dev
I am not allowed to credit the site that has this disaster. Its owner said “Nobody should see that”
Inline is never needed and you already know that.
EDIT: Alright, this is a terrible case because the parent element has flex and therefore no inline-flex is necessary there, but I’d argue it’s the parent element being flex that is redundant, rather than child element being inline.
Inline means that your element should be treated like text. If your element is not text, then you shouldn’t use inline. In this screenshot the element is text, so it’s ok.