Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .bg {
- position: absolute;
- z-index: 0;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- margin: 0;
- padding: 0;
- background: #ffae00;
- }
- .ping {
- position: absolute;
- z-index: 1;
- display: block;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: #006d0e;
- animation: ping 2s infinite;
- }
- .ping p {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -225px;
- margin-top: -30px;
- width: 450px;
- text-align: center;
- font-size: 30px;
- font-weight: 600;
- color: #fff;
- }
- @keyframes ping {
- 0% {
- -webkit-clip-path: circle(0% at center);
- -moz-clip-path: circle(0% at center);
- clip-path: circle(0% at center);
- opacity: 0;
- }
- 10% {
- opacity: 1;
- }
- 100% {
- -webkit-clip-path: circle(30% at center);
- -moz-clip-path: circle(30% at center);
- clip-path: circle(30% at center);
- opacity: 0;
- }
- }
Add Comment
Please, Sign In to add comment