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