Adding border:0 on iframes
paulburgess opened this issue · comments
This isn't a pull request as it may be deemed a bold move. Whereas I'm yet to experience any situation where a border is required on an iframe, I wonder if they exist by default for a reason I'm not aware of.
Having used this reset of a few recent projects, I find myself adding:
iframe {border:0}
Interesting! I almost always add the border rule on the iframe itself, but this would not hurt at all.
More than happy to take a PR for it!
Not having to specify the attribute at all is nice, but another reason to prefer CSS over the frameborder
attribute is that the attribute is obsolete and will give off errors when validating HTML.