需要注意,這個切圖是把一整塊,都切出來做的。所以需要用span,不能是div
還有描邊的話,scale會有邊距縮放的問題,描邊就用font weight 來實現
style={{
background: "var(--Linear, linear-gradient(96deg, #fff 0%, #000 100%))",
backgroundClip: "text",
WebkitBackgroundClip: "text",
WebkitTextFillColor: "transparent",
WebkitTextStrokeWidth: "1",
WebkitTextStrokeColor: "rgba(0, 0, 0, 0.20)",
}}