CSS/点和网格:修订间差异
来自康健生活
| 第24行: | 第24行: | ||
{{codepen | {{codepen | ||
|id= | |id=girdDots2 | ||
|height=300 | |height=300 | ||
|style=html { | |style=html { | ||
| 第44行: | 第44行: | ||
{{codepen | {{codepen | ||
|id= | |id=girdDots3 | ||
|height=300 | |height=300 | ||
|style=body { | |style=body { | ||
| 第56行: | 第56行: | ||
{{codepen | {{codepen | ||
|id= | |id=girdDots4 | ||
|height=300 | |height=300 | ||
| | |html=<svg className="absolute h-full w-full"> | ||
<defs> | |||
<pattern id="pattern-circles" x="0" y="0" width="24" height="24" patternUnits="userSpaceOnUse" patternContentUnits="userSpaceOnUse"> | |||
<circle id="pattern-circle" cx="4" cy="4" r="0.85" fill="rgb(99, 152, 191)" /></pattern> | |||
</defs> | |||
<rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-circles)" /> | |||
</svg> | |||
}} | }} | ||