a.close-popup { background-color: #b1b4b8; border-radius: 18px; position: fixed; top: 10px; right: 10px; text-decoration: none; padding: 2px; width: 36px; height: 36px; } a.close-popup span { position: absolute; color: #fff; border: none; font-size: 32px; top: 0; right: 0; width: 36px; height: 36px; padding: 2px; cursor:pointer; } a.close-popup:hover { background-color: #434a54; } a.close-popup:hover span { color: #fff; }