Answer the question
In order to leave comments, you need to log in
What does the symbol & before the selector mean?
What does the symbol & before the selector mean?
&.owl-loaded{
display: block;
}
&.owl-loading{
opacity: 0;
display: block;
}
&.owl-hidden{
opacity: 0;
}
Answer the question
In order to leave comments, you need to log in
Means that the name of the tag &.
But most likely, this is not CSS, but SCSS, in which the parent selector is designated as such .
It's a Sass preprocessor feature with SCSS syntax.
For example, you create a button:
.button {
}
.button {
&:hover {
}
}
header {
h1 {
//свойство:значение;
//свойство:значение;
}
p {
//свойство:значение;
//свойство:значение;
}
}
header {
}
header h1 {
}
header p {
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question