css - Why does NetBeans say inherited margin is invalid? -
i'm overriding bootstrap style desktop, want default applied mobiles.
i wrap desktop in media query, i'd rather have smaller mobile query default. however, netbeans saying invalid:
.reader-profile .description {margin-bottom:inherit;font-size:inherit;}
because of inherit value on margin-bottom. however, according w3 schools, correct property: http://www.w3schools.com/cssref/pr_margin-bottom.asp
who or correct?
according w3c site here valid.
if highlight margin-bottom
, press ctrl+space see exact same info on w3.org. netbeans having little bug in highlighting of unexpected characters
Comments
Post a Comment