28

用CSS实现一个抽奖转盘 - wenr

 5 years ago
source link: https://www.cnblogs.com/wenruo/p/9732704.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
效果 基本是用CSS实现的,没有用图片,加一丢丢JS。 首先画一个转盘, 效果如下,配色什么的不要在意,可能比较丑。。。 然后写抽奖指针的小箭头,用CSS画三角形是一个比较常见的问题,通过设置widt

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK