Timing Function Linear

linear timing moves at a constant speed.

Preview

Code

<style>
.box{
width:120px;
height:80px;
background:#06b6d4;
transition:transform 0.5s linear;
}

.box:hover{
transform:translateX(40px);
}
</style>

<div class="box"></div>

More CSS Transitions Examples (8)