The creation of transgenic mice typically involves the microinjection of DNA into fertilized mouse eggs. These eggs are then implanted into a surrogate mother. The offspring are screened for the presence of the transgene. Advanced techniques like CRISPR-Cas9 have made gene editing more precise and efficient, allowing for targeted modifications.