<link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet"><script src="https://cdn.jsdelivr.net/npm/baffle@0.3.6/dist/baffle.min.js"></script>
<div class="container">
<div class="data">
Come On!
</div>
<div class="quote">
Let's learn to code
</div>
</div>
<style>
body{
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #0F2027;
}
.container{
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.data{
text-align: center;
color: #fff;
font-family: poppins;
font-size: 2em;
letter-spacing: 12px;
font-weight: 600;
/* position: absolute; */
/* top: 50%; */
/* left: 50%; */
/* transform: translate(-50%, -50%); */
}
.quote{
text-align: center;
color: #fff;
font-family: ubuntu, poppins;
font-size: em;
letter-spacing: 12px;
font-weight: 600;
/* position: fixed; */
/* top: 50%; */
/* left: 50%; */
/* transform: translate(-50%, -50%); */
}
</style>
<script>
const text = baffle('.data');
text.set({
characters : 'zpxzVpasdfh86136░█▒ ░░░█▓ >░░ ▓/▒█▓ █ █>█▒sayg▒ ░░░█▓ >yf',
speed: 150
});
text.start();
text.reveal(70000);
const text1 = baffle('.quote');
text1.set({
characters : 'qwertyuiopasdfgh8613611888',
speed: 140
});
text1.start();
text1.reveal(5500);
</script>