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