In a css property, there are certain value declarations that look like functions, eg
background: rgba(0,0,0,0);
or
background-image: url('bg.png');
The first part is called the property, eg background and background-image. The second part in general is called the value. But what is the part outside of the parentheses called, eg rgba(...) and url(...).
Thanks!
Generically, they’re just called "<whatever> notations"; see this part of the spec for example:
So
url('bg.png')is theurl()notation. However, you can get more specific. Values that represent images, such as:linear-gradient(red, white)url('../images/hello.png')radial-gradient(orange, yellow)cross-fade(image1, image2)Are called image values. This applies to things like
rect(), too, which is a shape value1. As forcalc(), that’s just generally called an expression, I believe.1 Note that in the sidebar,
rect()is also referred to as a function.