<div class="modal"> <div class="modal__head"> <h2 class="modal__title">Modal Title</h2> <span class="modal__close"><i class="fa-solid fa-xmark"></i></span> </div> <hr /> <p class="modal__description"> Lorem, ipsum dolor sit amet consectetur adipisicing elit. Deleniti, numquam. </p> <hr /> <div class="modal__CTA"> <a class="modal__primary--btn" href="#">Close</a> <a class="modal__secondary--btn" href="#">Save Changes</a> </div> </div>
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