Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <style> .ease { transition: width 2s ease; } .cubic-bezier { transition: width 2s cubic-bezier(.63,.05,.43,1.7); } .ease:hover, .cubic-bezier:hover { width: 80%; } div { background: orange; color: white; width: 90px; margin: 10px; padding: 10px; } </style> <div class="ease">ease</div> <div class="cubic-bezier">cubic-bezier()</div>