1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/site/client/app/views/lobby.html

180 lines
3.4 KiB
HTML
Raw Normal View History

2015-06-22 20:01:37 +00:00
<style>
.card {
float: left;
border-radius: 12px;
2015-06-22 20:41:19 +00:00
position: relative;
z-index: 10;;
2015-06-22 20:01:37 +00:00
}
.bla {
padding: 5px;
float: left;
border-radius: 14px;
margin: 100px;
2015-06-22 20:41:19 +00:00
position: relative;
2015-06-22 20:01:37 +00:00
}
2015-06-22 20:41:19 +00:00
/*.shadow {
border-radius: 40%;
box-shadow: 0 0 30px 10px #ffa500;
content: "";
height: calc(100% - 40px);
left: 10px;
position: absolute;
width: calc(100% - 20px);
z-index: 1;
transition: all 0.3s ease-in-out 0s;
-webkit-animation: Shadow 2s ease infinite;
-moz-animation: Shadow 2s ease infinite;
animation: Shadow 2s ease infinite;
}*/
.shadow {
border-radius: 50%;
box-shadow: 0 0 15px 14px #ffa500;
content: "";
height: calc(100% - 40px);
left: 10px;
position: absolute;
width: calc(100% - 20px);
z-index: 1;
top: 20px;
transition: all 0.3s ease-in-out 0s;
-webkit-animation: Shadow 4s ease-in-out infinite;
-moz-animation: Shadow 4s ease-in-out infinite;
animation: Shadow 4s ease-in-out infinite;
}
2015-06-22 20:01:37 +00:00
.ani {
background: linear-gradient(2deg, #ffa500, #ffd68b, #ffa500, #ffa500);
background-size: 800% 800%;
-webkit-animation: AnimationName 3s ease infinite;
-moz-animation: AnimationName 3s ease infinite;
animation: AnimationName 3s ease infinite;
}
2015-06-22 20:41:19 +00:00
@-webkit-keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
@-webkit-keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
@keyframes Shadow {
0% {
opacity: 0;
}
25% {
opacity: .5;
}
50%{
opacity: 1;
}
75% {
opacity: .5;
}
100%{ opacity: 0;
}
}
/*@-webkit-keyframes Shadow {
0% {
top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
25%{top: 20px}
50%{
top: 30px;
box-shadow: 0 -10px 30px 10px #ffa500;
}
75%{top: 20px}
100%{top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
}
@-moz-keyframes Shadow {
0% {
top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
25%{top: 20px}
50%{
top: 30px;
box-shadow: 0 -10px 30px 10px #ffa500;
}
75%{top: 20px}
100%{top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
}
@keyframes Shadow {
0% {
top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
25%{top: 20px}
50%{
top: 30px;
box-shadow: 0 -10px 30px 10px #ffa500;
}
75%{top: 20px}
100%{top: 10px;
box-shadow: 0 10px 30px 10px #ffa500;
}
}*/
2015-06-22 20:01:37 +00:00
@-webkit-keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
@-moz-keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
@keyframes AnimationName {
0%{background-position:51% 0%}
50%{background-position:50% 100%}
100%{background-position:51% 0%}
}
</style>
<div class="bla ani">
<img src="http://80.240.132.120/gwent/assets/cards/ballista1.png" class="card" width="150" height="auto">
2015-06-22 20:41:19 +00:00
<div class="shadow"></div>
2015-06-22 20:01:37 +00:00
</div>
</div>