The process by which new oceanic crust is formed as magma rises and spreads apart at mid-ocean ridges.