$linkColor: #3370ff; a { text-decoration: none; color: $linkColor; } :root { --link-color: #1a1; } html, body { margin: 0; scroll-behavior:smooth; overflow-x:hidden; touch-action: pan-y; } .relatives { width: 100%; height: 600px; // background: url(~/public/image/img_home.png) no-repeat; // background: url(https://imgcdn.gongyoubao.net/meloinfo/hrshuke.png) no-repeat; background: url(https://imgcdn.gongyoubao.net/meloinfo/hrshuke.webp) no-repeat; background-size: cover; }