使用只有一邊邊框的div替代< hr >標籤。
.divhr {
border-top-width: 2px;
border-top-style: solid;
border-top-color: #987cb9;
width:100%;
margin-top:40px;
}
.divhr {
border-top-width: 2px;
border-top-style: solid;
border-top-color: #987cb9;
width:100%;
margin-top:40px;
}
Couldn’t find preset “es2015” relative to directory問題解決 npm install babel-preset-es2015 --save-dev