//Turning a right floating and squared image in a centered text and a round image const sth = document.querySelector("#container") sth.style.textAlign = "center" sth.querySelector("img").style.width = "150px"; sth.querySelector("img").style.borderRadius = "50%";
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