DEV Community

Discussion on: Rate my SVG art! [Compared to CSS art]

Collapse
 
afif profile image
Temani Afif

The compatibility is not really an issue. I was lazy using the aspect-ratio property that we can easily replace using the padding trick. I also used display:grid and grid-area:1/1 to make all the layers above each other. We can easily replace this using the classic position:absolute.

Collapse
 
grahamthedev profile image
GrahamTheDev

Ah fair enough, I didn't notice that was the issue I thought it was something else as the eyes didn't have pupils (I assumed there was a conic-gradient or something there!)

In that case it would probably work back to IE as well so that was my bad!