In this paper, the generation of relativistic electron mirrors (REMs) and the reflection of an ultra-short laser off this mirrors are discussed, applying two-dimensional particle-in-cell (2D-PIC) simulations. REMs with ultra-high acceleration and expanding velocity can be produced from a solid nanofoil illuminated normally by an ultra-intense femtosecond laser pulse with a sharp rising edge. Chirped attosecond pulse can be produced through the reflection of a counter-propagating probe laser off the accelerating REM. In the electron moving frame, the plasma frequency of the REM keeps decreasing due to its rapidly expanding. The laser frequency, on the contrary, keeps increasing due to the acceleration of REM and the relativistic Doppler shift from the lab frame to the electron moving frame. Within an ultra-short time interval, the two frequencies will be equal in the electron moving frame, which leads the resonance between laser and REM. The reflected radiation near this interval and the corresponding spectra will be amplified due to the resonance. Through adjusting the arriving time of the probe laser, certain part of the reflected field could be selectively amplified or depressed, leading to the selectively adjusting of the corresponding spectra.