Toggle navigation
☰
HTML
CSS
Scripting
Database
<!doctype html> <title>Example</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: sans-serif; background-color: #f0f0f0; } .blur-text { font-size: 3rem; font-weight: bold; color: #333; /* Initially hidden and blurred out */ opacity: 0; filter: blur(20px); /* Animation settings */ animation: focus-in 1.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards; } @keyframes focus-in { 0% { opacity: 0; filter: blur(20px); transform: scale(1.1); /* Slightly larger when blurred */ } 100% { opacity: 1; filter: blur(0px); transform: scale(1); /* Snaps into normal size when sharp */ } } @media (prefers-reduced-motion: reduce) { .blur-text { animation: none; /* Disables the blur transition completely */ opacity: 1; /* Make it visible immediately */ filter: blur(0px); /* Remove any initial blur */ } } </style> <div class="blur-container"> <div class="blur-text">Out of the mist.</div> </div>