skip to Main Content

Can linear gradient be used to create a polka dot texture in CSS?

Here is a gradient background: body { background: linear-gradient(to right, red , yellow); } and here is the polka dot css: body { background-color: #94fcc8; opacity: 1; background-image: radial-gradient(#7c7c50 0.9500000000000001px, transparent 0.9500000000000001px), radial-gradient(#7c7c50 0.9500000000000001px, #94fcc8 0.9500000000000001px); background-size: 38px 38px; background-position:…

VIEW QUESTION
Back To Top
Search