diff options
| author | taehoon <th.dev91@gmail.com> | 2019-02-03 15:32:24 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-02-03 15:32:24 -0500 |
| commit | ee694d62eb34b825bccf4d0a6cbb299c6bde2a6e (patch) | |
| tree | 469a2562860651e129e500a3362bab0da4f02c7b /src/App.scss | |
| parent | 7115584882f4fde67d248fa61611dbe579a41b9f (diff) | |
Fix fixed background issue
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/App.scss b/src/App.scss index d3721b32..dedc294d 100644 --- a/src/App.scss +++ b/src/App.scss @@ -1,15 +1,21 @@ @import './_variables.scss'; #app { - background-size: cover; - background-attachment: fixed; - background-repeat: no-repeat; - background-position: 0 50px; min-height: 100vh; max-width: 100%; overflow: hidden; } +.app-bg-wrapper { + position: fixed; + z-index: -1; + height: 100%; + width: 100%; + background-size: cover; + background-repeat: no-repeat; + background-position: 0 50%; +} + i { user-select: none; } |
