參考你的方法,我想用css做會更友好。
![]() |
原來是這樣,理解了。不過我有更好的方法。 圖片加載起來比較慢,并且你這也不是一套。 div#medal_33 { content: '極品'; background: linear-gradient(to right, #ecffdd, #e0fee2, #d1faea, #b8eaeb, #bbeffa, #b9e7f7, #bddcf9, #c6d2fc, #dec2ff, #e8befd, #f4bdf7, #f7bee9); margin-left: -1px;控制左右位置 transform: translateY(-20px);控制上下位置 } 當然還可以添加一些圓角 角標的來美化。因為我就打算這樣干。 |
收藏了,不錯。 |
頂一波 |
這個好。 |
感謝樓主的無私分享 |
手機版|小黑屋|Discuz! 官方交流社區
( 皖ICP備16010102號 |皖公網安備34010302002376號 )|網站地圖|
GMT+8, 2025-7-3 23:03 , Processed in 0.067286 second(s), 15 queries , Redis On.
Powered by Discuz! W1.0 Licensed
Cpoyright © 2001-2025 Discuz! Team.