浏览代码

Fix weird transition on page open

master
Fen Dweller 5 年前
父节点
当前提交
175d8da263
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      static/sexy.css

+ 4
- 2
static/sexy.css 查看文件

@@ -138,6 +138,7 @@ a:hover {
position: relative;
width: 40vh;
transition: 0.2s;
transform: scale(1, 1);
}

.game-logo {
@@ -159,14 +160,15 @@ a:hover {
font-size: 9vh;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transform: translate(-50%, -50%) scale(1, 1);
z-index: 1;
transition: 0.4s ease-out;
font-family: 'Source Code Pro';
}

.game-button:hover > .game-title {
font-size: 10vh;
transform: translate(-50%, -50%) scale(1, 1);
transition: 0.4s ease-out;
}

.game-description {


正在加载...
取消
保存