在线演示 实现 HTML 元素: 1 2 3 4 figure section class=img-bg/section img height=320 width=320 src=https://vitejs.dev/logo-with-shadow.png alt=Vite Logo / /figure CSS样式代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 .img-bg { position:
在线演示 实现HTML 元素:
CSS 样式代码:
1. 增加背景
2. 将背景设置为圆形
3. 加入关键的filter 属性将模糊的图形效果应用于元素
4. 将背景至于图形底部
5. 加入动画效果
|
2021-04-14
2023-10-11
2021-04-29
2023-11-01
2018-01-07