css move div on hover code example Example: move up on hover css a img:hover{ position: relative; top: -5px;}