Reputation: 2845
Recently I found the following CSS3 in an example
#sidebar {
........
}
#container {
left: $sidebar-width;
}
This appears to say -- use the value of the width property in the object identified as sidebar as the property value. Could anyone point me at authoritive documentation describing this syntax or otherwise explain what is intended by this syntax?
Upvotes: 0
Views: 45
Reputation: 179206
The code provided is either SASS (SCSS really) or pseudo-code to represent a variable value determined by the width
of the #sidebar
.
Upvotes: 2