From 55f2cfbabe8af028fe05752e1686d92ce1354eb0 Mon Sep 17 00:00:00 2001 From: samuel-p Date: Wed, 3 Oct 2018 21:49:31 +0200 Subject: [PATCH] updated v2 test version --- index-v2.html | 70 +++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 39 deletions(-) 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