.Buttonbg { width: 380px; height: 48px; background-color: red; border-radius: 25px; } #txt { font-family: Simonetta; text-align: center; font-size: 24px; letter-spacing: 0; color: white; position: absolute; left: 180px; top: -5px; z-index: 2; } svg { position: absolute; top: 27px; z-index: 0; }
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