summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-04 23:36:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-04 23:36:59 +0800
commitb5c82232c0da3df071722b7faff060a07f771c4b (patch)
tree6f9a9327c5a821bb1202aca36bbaa4f71fcabec8 /src/css
parent5bcde293742cbacc7f24571cd30a56db845a72e1 (diff)
get use with .windowWrapper and adapt browsers like firefox
Diffstat (limited to 'src/css')
-rw-r--r--src/css/index.css23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/css/index.css b/src/css/index.css
index a7fb6205..a688f4f2 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -1,3 +1,16 @@
+.wrapper {
+ height: 100vh;
+ width: 100%;
+ top: 0;
+ left: 0;
+ overflow-x: hidden;
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
+.wrapper::-webkit-scrollbar {
+ display: none;
+}
+
/* main info window ======================================= */
.indexPage {
overflow: hidden;
@@ -29,7 +42,7 @@
/* perspective: 1000px; */
}
-.window .placeholder {
+.window .windowWrap {
position: relative;
width: 100%;
height: 100%;
@@ -45,19 +58,19 @@
}
.window:hover,
-.placeholder:hover {
+.windowWrap:hover {
transform: scale(1.1);
transition: all 0.3s
}
-.window .placeholder .text {
+.window .windowWrap .text {
position: relative;
width: 100%;
text-align: center;
text-shadow: 10px 10px 10px black;
}
-.window .placeholder .text .title {
+.window .windowWrap .text .title {
/* z-index: -1; */
/* transform: translateZ(30px); */
font-family: smooth;
@@ -74,7 +87,7 @@
transition: all 0.5s
}
-.window .placeholder .text .br {
+.window .windowWrap .text .br {
display: block;
height: 0;
width: 0;