Preview:
.element {
  width: min(90%, 1200px); /* Set a minimum width of 90% or 1200px, whichever is larger */
}
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