Home > Article > Web Front-end > How to draw a lollipop using css
Let’s take a look at the renderings first:
(recommended related video tutorials: css video tutorial)
CSS code:
棒棒糖 用css画一个棒棒糖
要求:
1:棒棒糖中间文字为水平居中
2:不得少于三层颜色
hello world!
Recommended tutorial: css quick start
The above is the detailed content of How to draw a lollipop using css. For more information, please follow other related articles on the PHP Chinese website!