.card-1 { min-height: 70vh; width: 100%; background:url(photos/banner4.png); box-shadow: 0px 2px 20px rgba(0,0,0,0.1), 0px 2px 20px rgba(0,0,0,0.1); display: flex; justify-content: center; align-items: center; margin-top: 100px; }
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