.hotspot-wrapper { margin: 0 0 -7px 0; position: relative; max-width: 100%; display: inline-block; } .hotspot-wrapper img { width: 100%; height: auto; display: block; } /* */ .hotspot { position: absolute; display: block; cursor: pointer; z-index: 5; transition: all 0.25s ease; } /* + */ .hotspot:hover { border: 2px solid rgba(255,255,255,0.9); transform: scale(1.05); box-shadow: 0 0 15px rgba(255,255,255,0.6); z-index: 10; }