.kage{ width: 300px; height: 50px; background-color:blue; border:solid 10px green; box-shadow: 10px 10px; } p { transform: rotate(-30deg); } .textkage{ background: white; text-shadow: 2px 4px 3px rgba(0,0,0,0.3); } .anime { width: 150px; height:150px; line-height: 150px; text-align: center; margin: 50px 0; border: 1px solid #BBB232; background-color: #F7ED91; color: #ECB94C; transition: 0.5s; } .anime:hover { color: #E47609; transform: rotate(360deg); }