可以自訂底線以增強視覺吸引力和可讀性。要操縱文字裝飾的長度和位置:下劃線,有一種簡單而有效的技術,涉及使用漸變:
.underline { background-image: linear-gradient(#5fca66 0 0); background-position: bottom center; background-size: 80% 2px; background-repeat: no-repeat; padding-bottom: 4px; }
位置調整:
長度調整:
其他自訂:
免責聲明: 提供的所有資源部分來自互聯網,如果有侵犯您的版權或其他權益,請說明詳細緣由並提供版權或權益證明然後發到郵箱:[email protected] 我們會在第一時間內為您處理。
Copyright© 2022 湘ICP备2022001581号-3