Electron resonance in crystalline transition-metal compounds