Technology-Snail / MySnail

This fun chrome extension allows you to have a customizable virtual pet snail that shows up on every website you visit. 🐌
https://technology-snail.github.io/MySnail/
MIT License
1 stars 0 forks source link

Remove Box Around Snail #11

Closed WesleyMcGinn closed 6 months ago

WesleyMcGinn commented 1 year ago

On some websites, certain elements are set to have certain default backgrounds based on CSS code. For example:

svg {
  background-color:  blue;
}

In the specific instance of svg default styles for either background-color or background-image CSS properties, those properties also apply to the rectangle behind the snail. For example, on Academo, the snail is enclosed in a photo of outer space:

Snail with unintentional background photo of outer space

The background color of the SVG element containing the snail should always be completely transparent and imageless.

WesleyMcGinn commented 6 months ago

Resolved by #12.