84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
.linear { position: relative; height: 1px; width: 100%; background: -webkit-linear-gradient(left,#fff 20%,#000 60%,#fff 20%); }
结果就变成了这样:
不知道哪里出现了问题?
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
用法:-webkit-linear-gradient(left,#fff 20%,#000 60%, #fff);
颜色断点后面跟着百分比,是整个线性距离的百分比,所以,最前面应该是 0%,最后是 100%,其余百分比依次递增。0% 与 100% 可以省略不写。
颜色断点后面跟着百分比,是整个线性距离的百分比,所以,最前面应该是 0%,最后是 100%,其余百分比依次递增。0% 与 100% 可以省略不写。