Answer the question
In order to leave comments, you need to log in
How can I make the border color be like background?
Hello, in general, I have a button and I need the color of the border to be the same as the color of the background,
while the color of the background I don’t know if this is possible in sass?
Example:
.button {
background: #какойтоцвет
border-color: "background";
}
Типо так
Answer the question
In order to leave comments, you need to log in
.button {
background: red;
border-color: transparent;
backgroud-clip: border-box; /* это значение по-умолчанию, можно не указывать, если не меняли */
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question