I am trying to clone a website and here is this website's link
CodePudding user response:
- find the QR code element node by chrome devtools, as you can see in this picture, the
div
html which one has a classname be namedshopee-drawer__contents
picture about how to find element node name
- In chrome devtools console, you can print it out or use document method to measure it.
For instanse document.getElementByClass('shopee-drawer__contents').getBoundingClientRect()
print out width & height