Reputation: 86057
How do I edit the greyed-out attributes in this screenshot:
Upvotes: 0
Views: 131
Reputation: 18734
The greyed-out attributes are the ones your browser implicitly is calculating based on your property syntax,
referencing your example(if you want just padding-top) your syntax should be:
padding: 10px 0 0 0;
Upvotes: 0
Reputation: 114979
Just over-ride them by adding the individual properties or changing the "shorthand" to something like padding: 10px 10px 0 0;
The 'top' property is what is in the actual CSS file.
The greyed-out ones are showing you the individual sub-properties that the shorthand applies.
Upvotes: 2