Skip to content

Commit

Permalink
Thu nho kich thuoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoang Nam committed Sep 28, 2017
1 parent f4934ac commit 9c86de3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 239 deletions.
154 changes: 0 additions & 154 deletions dev-ws-wating.css

This file was deleted.

3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
<head>
<title>WS WATING</title>
<meta charset="utf-8">
<link rel="stylesheet" href="dev-ws-wating.css">
<link rel="stylesheet" href="ws-wating.css">
</head>
<body>
<div id="ws-wating" class="ws-wating clearfix">
<div class="ws-wating-content">
<div class="ws-wating-text">
<p>WEBSO</p>
<p>Loading...</p>
</div>
<div class="ws-wating-load"></div>
Expand Down
106 changes: 24 additions & 82 deletions ws-wating.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
/* CSS LOADING */

.ws-wating {
/*display: none;*/
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, .7);
background-color: rgba(0, 0, 0, 0.2);
z-index: 999999;
}

Expand All @@ -15,140 +18,79 @@
right: 0;
margin-left: auto;
margin-right: auto;
width: 80px;
height: 80px;
width: 60px;
height: 60px;
background-color: #0075ff;
border: 3px solid #FFF;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-align-items: center;
align-items: center;
}

.ws-wating-load {
position: absolute;
top: 20px;
width: 100%;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-animation: aniWaiting 1.2s linear infinite;
-moz-animation: aniWaiting 1.2s linear infinite;
-ms-animation: aniWaiting 1.2s linear infinite;
-o-animation: aniWaiting 1.2s linear infinite;
animation: aniWaiting 1.2s linear infinite;
}

.ws-wating-load:before {
content: "";
width: 20px;
width: 10px;
height: 20px;
background-color: yellow;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background-color: #FFFFFF;
border-radius: 50%;
}

.ws-wating-text {
position: absolute;
top: 12px;
width: 100%;
font-size: 14px;
font-size: 11px;
color: #FFF;
text-align: center;
}

.ws-wating-text p:first-of-type {
font-weight: bold;
color: yellow;
}

.ws-wating-text p:last-of-type {
color: #DDD;
font-size: 12px;
.ws-wating-text p {
margin: 0;
line-height: 0;
height: 100%;
position: absolute;
width: 100%;
top: 50%;
}

@-webkit-keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

@-moz-keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

@-ms-keyframes aniWaiting {
@keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

@-o-keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

@keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* END CSS LOADING */
1 change: 0 additions & 1 deletion ws-wating.min.css

This file was deleted.

0 comments on commit 9c86de3

Please sign in to comment.