diff --git a/.gitignore b/.gitignore index e33609d..8b13789 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -*.png + diff --git a/css/main.css b/css/main.css index 905dd85..9972486 100644 --- a/css/main.css +++ b/css/main.css @@ -19,6 +19,8 @@ body, html { .after { width: 300px; height: 300px; + background-color: #F0F0F0; + background-image: url(../img/transparent.png); } @@ -38,7 +40,6 @@ body, html { top: 0; left: 0; overflow: hidden; - background: #FFF; /* nedded for transparent SVG */ } #before-after .before { @@ -164,6 +165,8 @@ body, html { width: 40px; border: solid 1px #97B0F8; /* color taken from time-line-event border */ z-index: 20; + background-color: #F0F0F0; + background-image: url(../img/transparent.png); } diff --git a/img/transparent.png b/img/transparent.png new file mode 100644 index 0000000..32b5f46 Binary files /dev/null and b/img/transparent.png differ diff --git a/index.html b/index.html index 7940b68..3bb3bdd 100644 --- a/index.html +++ b/index.html @@ -13,24 +13,31 @@ - + + - + + + + + - + + + @@ -41,6 +48,7 @@