See Code |
Go Back |
---|
CSS Code Below
.blueupsidedown {
margin-top: 1em;
width: 30%;
padding-top: 0.3em;
padding-bottom: 0.3em;
background-color: #cccccc;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border: 4px solid #4db8ff;
-webkit-transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
transition-duration: 0.7s;
}
.blueupsidedown:hover {
background-color: #4db8ff;
transform: rotate(360deg) scaleX(-1);
}