New course! Every coder should learn Generative AI!
Try a free lesson+ 1
In jQuery to set dimensions , we can use .height(10px) and .width(10px) , Can we set it using % or em or rem?
2 Answers
0
yes you can. just do $(sel).width("70%") or $(sel).width("20em")
0
Yes