<p>example</p>
p{ width:150px; height:50px; color:#fff; background-color:#ccc; text-align:center; line-height:50px; margin:20px ; -webkit-transition: all 1s linear; -moz-transition: all 1s linear ; -o-transition: all 1s linear ; transition: all 1s linear; } p:hover{ width: 350px; }