Xbox One Achievement Unlocked Alert

Developer
Size
4,060 Kb
Views
6,072

How do I make an xbox one achievement unlocked alert?

Wanted to mess around with the Xbox One achievement unlocked animation for fun.. What is a xbox one achievement unlocked alert? How do you make a xbox one achievement unlocked alert? This script and codes were developed by EY-Intuitive on 17 January 2023, Tuesday.

Xbox One Achievement Unlocked Alert Previews

Xbox One Achievement Unlocked Alert - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Xbox One Achievement Unlocked Alert</title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300;
}
button { display: block; width: 100%; color: #FFFFFF; background: #2196F3; border: none; outline: none; font-size: 20px; padding: 15px 0;
}
.achievement-container { transition: width 0.5s 1s cubic-bezier(0.23, 1, 0.32, 1); margin: 0 auto; width: 50px; padding: 20px 0; overflow: hidden;
}
.achievement-container.active { width: 250px;
}
.achievement-container.active .achievement-message { width: 250px;
}
.achievement-container.active .message { opacity: 1;
}
.achievement-container.active .message:first-child { margin-top: -50px;
}
.achievement { height: 50px;
}
.ball { transition: all 0.2s ease; position: absolute; z-index: 10; width: 50px; height: 50px; border-radius: 100px; transform: scale(0) translateZ(0); text-align: center;
}
.ball.one,
.ball.three { background: #2196F3;
}
.ball.two,
.ball.four { background: #1976D2;
}
.ball.one,
.ball.two,
.ball.three,
.ball.four { transition-delay: 2s;
}
.ball.active { transform: scale(1) translateZ(0);
}
.ball.active.two { transition-delay: 0.1s;
}
.ball.active.three { transition-delay: 0.2s;
}
.ball.active.four { transition-delay: 0.3s;
}
.fa-trophy { transform: all 0.5s 2s ease; line-height: 50px; font-size: 28px; color: #FFFFFF;
}
.achievement-message { box-sizing: border-box; transition: all 0.5s 1s cubic-bezier(0.23, 1, 0.32, 1); width: 50px; height: 50px; border-radius: 100px; background: #2196F3; color: #FFFFFF; overflow: hidden;
}
.achievement-message .message { transition: margin-top 0.5s 2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s 1s ease; margin-top: 0; opacity: 0; line-height: 50px; font-size: 14px; padding-left: 55px; overflow: hidden; max-width: 180px; text-overflow: ellipsis; white-space: nowrap;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <button>Unlock an Achievement</button>
<div class="achievement-container"> <div class="achievement"> <div class="ball one"></div> <div class="ball two"></div> <div class="ball three"> <div class="achievement-message"> <p class="message">Achievement Unlocked</p> <p class="message">Xbox Alert Completed</p> </div> </div> <div class="ball four"> <i class="fa fa-trophy"></i> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Xbox One Achievement Unlocked Alert - Script Codes CSS Codes

body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300;
}
button { display: block; width: 100%; color: #FFFFFF; background: #2196F3; border: none; outline: none; font-size: 20px; padding: 15px 0;
}
.achievement-container { transition: width 0.5s 1s cubic-bezier(0.23, 1, 0.32, 1); margin: 0 auto; width: 50px; padding: 20px 0; overflow: hidden;
}
.achievement-container.active { width: 250px;
}
.achievement-container.active .achievement-message { width: 250px;
}
.achievement-container.active .message { opacity: 1;
}
.achievement-container.active .message:first-child { margin-top: -50px;
}
.achievement { height: 50px;
}
.ball { transition: all 0.2s ease; position: absolute; z-index: 10; width: 50px; height: 50px; border-radius: 100px; transform: scale(0) translateZ(0); text-align: center;
}
.ball.one,
.ball.three { background: #2196F3;
}
.ball.two,
.ball.four { background: #1976D2;
}
.ball.one,
.ball.two,
.ball.three,
.ball.four { transition-delay: 2s;
}
.ball.active { transform: scale(1) translateZ(0);
}
.ball.active.two { transition-delay: 0.1s;
}
.ball.active.three { transition-delay: 0.2s;
}
.ball.active.four { transition-delay: 0.3s;
}
.fa-trophy { transform: all 0.5s 2s ease; line-height: 50px; font-size: 28px; color: #FFFFFF;
}
.achievement-message { box-sizing: border-box; transition: all 0.5s 1s cubic-bezier(0.23, 1, 0.32, 1); width: 50px; height: 50px; border-radius: 100px; background: #2196F3; color: #FFFFFF; overflow: hidden;
}
.achievement-message .message { transition: margin-top 0.5s 2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s 1s ease; margin-top: 0; opacity: 0; line-height: 50px; font-size: 14px; padding-left: 55px; overflow: hidden; max-width: 180px; text-overflow: ellipsis; white-space: nowrap;
}

Xbox One Achievement Unlocked Alert - Script Codes JS Codes

$('button').click(function(){ $('.ball, .achievement-container').addClass('active'); setTimeout(function(){ $('.ball, .achievement-container').removeClass('active'); }, 3000);
});
Xbox One Achievement Unlocked Alert - Script Codes
Xbox One Achievement Unlocked Alert - Script Codes
Home Page Home
Developer EY-Intuitive
Username ey_intuitive
Uploaded January 17, 2023
Rating 3
Size 4,060 Kb
Views 6,072
Do you need developer help for Xbox One Achievement Unlocked Alert?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

EY-Intuitive (ey_intuitive) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!