diff --git a/index-v2.html b/index-v2.html index 3c51ca1..ec76278 100644 --- a/index-v2.html +++ b/index-v2.html @@ -19,64 +19,56 @@ margin: 0; } - #top-image { - background: url('img/sp-codes.png') no-repeat center center fixed; + .image { + background-repeat: no-repeat; + background-position: center center; + /*background-attachment: fixed;*/ + background-size: cover; position: fixed; - top: 0; - width: 100%; + top: -25px; + left: -25px; + width: calc(100% + 50px); + height: calc(100% + 50px); z-index: 0; - height: 100%; - background-size: calc(100% + 50px); + } + + #top-image { + background-image: url('img/sp-codes.png'); } #topper-image { - background: url('img/samuel-philipp_v2-overlay.png') no-repeat center center fixed; - position: fixed; - top: 0; - width: 100%; - z-index: 0; - height: 100%; - background-size: calc(100% + 50px); + background-image: url('img/samuel-philipp_v2-overlay.png'); } -
-
+
+
\ No newline at end of file