.a{
background: linear-gradient(black, black) left top,
linear-gradient(black, black) left top,
linear-gradient(black, black) right top,
linear-gradient(black, black) right top,
linear-gradient(black, black) right bottom,
linear-gradient(black, black) right bottom,
linear-gradient(black, black) left bottom,
linear-gradient(black, black) left bottom;
background-repeat: no-repeat;
background-size: 4px 20px, 20px 4px;
height: 56px;
width: 176px;
}
is shown as follows:
1. The first time I saw the background-size, written like this, I didn"t find the relevant documentation TAT,. What does it mean to write like this? Since
2.linear-gradient (black,black) is black,black, then rounding equals no gradient, why can"t I achieve the same effect after I replace linear-gradient (black,black)
with black
?