html - width:100% vs max-width: 100% -
width can be: 100% and maximum-width: 100% can be used once if any of them Is used only once?
For example, I get the following results:
img {width: 100%; } and with:
img {max-width: 100%; } Am I missing something here?
If your images are always higher than they are both within the rules, behaviors Will appear to If an IMG is shorter than the original element than the first rule, then its parents will extend to the full width. The second will not be the rule.
Comments
Post a Comment