Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS3 transition-timing-function Property</title> <style> button { font-size: 16px; font-weight: bold; padding: 10px 20px; background: #fe9854; border: 3px solid #dc5801; /* For Safari 3.0+ */ -webkit-transition-property: background, border; -webkit-transition-duration: 2s; -webkit-transition-timing-function: linear; /* Standard syntax */ transition-property: background, border; transition-duration: 2s; transition-timing-function: linear; } button:hover { background: #48c677; border-color: #257644; } </style> </head> <body> <button type="button">Place mouse on me</button> </body> </html>