[Client] Add transition on the action button
Also remove game title text effect due to different rendering between browsers. Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
This commit is contained in:
parent
e80c3e5763
commit
15525b76a3
@ -35,8 +35,6 @@
|
|||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
-webkit-text-stroke: 1px black;
|
|
||||||
text-shadow: 1px 0 0 red, 0 1px 0 red, -1px 0 0 red, 0 -1px 0 red;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.top_button {
|
.top_button {
|
||||||
@ -69,4 +67,11 @@
|
|||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
overflow: hidden;
|
||||||
|
transition: box-shadow 0.5s, transform 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action_button:hover {
|
||||||
|
transform: translate(0.1em, 0.1em);
|
||||||
|
box-shadow: 10px -10px 25px 0px black, -10px 10px 25px 0px black;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user