+ 1
% Or px is better in positioning elements in HTML?
We can use both % as well as px for properties like top and left. But what is the best method to set position of elements.
4 Antworten
+ 5
vh for top and height
vw for left and width
Run the tutorial, rotate your phone by 90 deg too see why.
+ 3
I think % is better for a responsive feature
0
Gordon I specifically asked for "top" And "width" I didn't get these on this link