Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
In jQuery to set dimensions , we can use .height(10px) and .width(10px) , Can we set it using % or em or rem?
2 odpowiedzi
0
yes you can. just do $(sel).width("70%") or $(sel).width("20em")
0
Yes