Through crossing over during meiosis. In eukaryotic cells (us), there are these things called Histone proteins. TONS of these wrap around and form what eventually will be a chromosome in the nucleus of the cell. These chromosomes contain genes which contain genetic information in the form of DNA. If a trait is sex linked it will pass through to the offspring by meiosis, specifically during crossing over when homologous chromosomes exchange genetic information.