How to generate edge-triggered pulse
To make a pulse generator, use a resistor, a capacitor, an AND gate and an inverter:







simulate this circuit &ndash; Schematic created using CircuitLab

To make a dual-edge-triggered pulse generator, use a resistor, a capacitor, and an XOR gate:







simulate this circuit

EDIT by another user:
An excellent answer with one caveat:  As the signal into the gate is now analogue best use a Schmitt version for the 2nd gate. These are available in NAND and NOT versions but less available for AND or XOR.  It will work with non Schmitt versions but there may be a few power spikes on the rail and/or non full logic values at the 2nd gate output.