This is another well known trick: high waisted lengthen your lower body region, so they make your legs look longer.
If you are wearing skinny jeans, make sure you pair them with nude or same color shoes (doesn’t matter if the are over or under the pants if they are the same color).
But, if you are wearing straight pants, bootcut, or wide legs, you can wear nude or same color shoes too.
You can also wear high waisted skirts or shorts, and the shorter they are, the longer your legs will look. Another trick for the winter if you want to look taller even with layers and layers on, is to wear panties matching your shoe color, whatever it is.