Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
.myShinyClass {
.case-parameters(2, ":");
}
.MyShinyClass .block-case li:nth-of-type(2):after {
top: 0;
right: 0;
bottom: 0;
left: 0;
content: ":";
font-size: 23px;
color: #fff;
text-shadow: 0px 0px 5px #171717;
display: inline-block;
width: 100%;
position: relative;
margin-top: 90px;
text-align: center;
}
As I write some text with a colon, the error occurs
.case-parameters(@cn; @namecase) {
.block-case li:nth-of-type(@{cn}):after {
top: 0;
right: 0;
bottom: 0;
left: 0;
content: "@{namecase}";
font-size: 23px;
color: #fff;
text-shadow: 0px 0px 5px rgba(23, 23, 23, 1);
display: inline-block
width: 100%
position: relative;
margin-top: 90px;
text-align: center;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question