For example, you may wear high-rise jeans. It's super flattering on short legs because they extend above the natural waistline and give the illusion of a longer torso.
Another example is to opt for straight-leg jeans. It has a slimming effect on the legs because of the way they hug the legs to make them look skinnier and this in turn makes short legs appear lengthened.