I decided to experiment with creating a grid pattern using css background-images in this way:
.grid {
width:720px;
height:720px;
background-color: #333333;
background-image: linear-gradient(rgba(255,255,255,0.1), 1px, transparent 1px),
linear-gradient(rgba(255,255,255,0.5), 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.1), 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.5), 1px, transparent 1px);
background-size: 40px 40px,
240px 240px,
40px 40px,
240px 240px;
}
https://jsfiddle.net/nicholasstephan/47zyx3pq/1/
However, to my surprise, although it works perfectly on most desktop browsers, the grid isn't displaying in either Safari or Chrome on iOS. What could be causing this issue?
Thanks.