Reputation: 1836
What are the styling keywords such as top, margin, padding, background-color etc.. called in CSS?
Are they commonly referred to as key:value pairs
or do they have other names?
Upvotes: 0
Views: 35
Reputation: 3823
They're called properties. And yes, it's key:value pairs for each selector. You can read more about them here: https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax
Upvotes: 1