Great list!
I always add: font-size: 0 to the body element, to disable the gap when you use display: inline-block
I would only recommend doing hacks like that on the element itself, rather than globally.
I use inline-block pretty often. It’s a necessity for me. But not everybody has the same approach. Thanks for your post again. Very helpful
Interesting technique. Does that no longer have SEO issues? Maybe the crawler is smart enough to go further into the page, but I remember that being a solid anti-pattern a while back.
I don't think so, but should be tested :) My opinion is that if you put "font-size: 0" to the
or other (all with a visible font-size). Nothing is concealed, so it should be crawled normally.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great list!
I always add:
font-size: 0
to the body element, to disable the gap when you use display: inline-block
I would only recommend doing hacks like that on the element itself, rather than globally.
I use inline-block pretty often. It’s a necessity for me.
But not everybody has the same approach. Thanks for your post again. Very helpful
Interesting technique. Does that no longer have SEO issues? Maybe the crawler is smart enough to go further into the page, but I remember that being a solid anti-pattern a while back.
I don't think so, but should be tested :)
element, then you don't plan to have text directly in the body element. The text should be inside of aMy opinion is that if you put "font-size: 0" to the
,
or other (all with a visible font-size). Nothing is concealed, so it should be crawled normally.