.modal-close-button { border-radius: 50%; background-color: #f1f1f1; border: none; outline: none; padding: 1.5rem; display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; top: 8px; position: absolute; right: 16px; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter