.divWithSlightShadow { background: #FFFFFF; border-radius: 6px; border: 1px solid #EBEBEB; // <*** This is the key! width: 356px; box-shadow: 0 4px 8px 0 rgb(0 0 0 / 4%); padding: 24px; }
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