When I typed in the code shown in the video for lesson #23/HTML5 my transition didn't work. When I changed it to the following it worked fine.
#box{
display:block;
width:500px;
margin:50px auto;
padding:15px;
text-align:center;
border:7px solid blue;
background:yellow;
outline:7px solid red;
}
#box:hover{
-webkit-transform:rotate(45deg);
transition: 2s;
}
Any Comments?